#975EA7#975EA7

#975EA7 is a mid, vivid purple. Relative luminance 0.174; OKLCH L 57.3% C 0.125 H 318.6°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#975EA7
RGBrgb(151, 94, 167)
HSLhsl(287, 29%, 51%)
HSVhsv(287, 44%, 65%)
CMYKcmyk(9.6%, 43.7%, 0%, 34.5%)
CIE-LABlab(48.73, 35.87, -30.01)
CIE-LCHlch(48.73, 46.77, 320.08°)
OKLaboklab(57.27% 0.0939 -0.0828)
OKLCHoklch(57.27% 0.125 318.6)
XYZxyz(23.7393, 17.3755, 38.6550)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#975EA7 #6EA75E
analogous
#725EA7 #975EA7 #A75E92
triadic
#975EA7 #A7975E #5EA797
tetradic
#975EA7 #A7725E #6EA75E #5E92A7
square
#975EA7 #A7725E #6EA75E #5E92A7
split-complementary
#975EA7 #92A75E #5EA772
monochromatic
#51315A #744781 #975EA7 #B186BD #CAADD2

Accessibility & contrast

On white

4.69
#975EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#975EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #975EA7
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##975EA7#FFFFFF#000000##FFFFFF
##975EA71.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5370AA
Deuteranopia (green-blind)
#6276A5
Tritanopia (blue-blind)
#97677A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #975ea7;
/* rgb */ color: rgb(151, 94, 167);
/* oklch */ color: oklch(57.3% 0.125 318.6);
Tailwind
colors: {
  custom: {
    50: '#b78dc1',
    500: '#975ea7',
    950: '#000000',
  },
}
SCSS
$custom: #975ea7;
$custom-light: #b78dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#975ea7",
  "rgb": {
    "r": 151,
    "g": 94,
    "b": 167
  },
  "hsl": {
    "h": 286.849,
    "s": 29.317,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57265,
    "c": 0.12518,
    "h": 318.6
  },
  "luminance": 0.17375
}

Semantic roles & 50–950 ramp

primary
#975EA7
secondary
#A7C1A0
accent
#C66278
background
#FBF8FB
surface
#F6F0F7
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #975EA7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#975EA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva