#971D87#971D87

#971D87 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.191 H 334.4°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#971D87
RGBrgb(151, 29, 135)
HSLhsl(308, 68%, 35%)
HSVhsv(308, 81%, 59%)
CMYKcmyk(0%, 80.8%, 10.6%, 40.8%)
CIE-LABlab(36.38, 59.06, -30.11)
CIE-LCHlch(36.38, 66.30, 332.99°)
OKLaboklab(47.7% 0.1719 -0.0825)
OKLCHoklch(47.7% 0.191 334.4)
XYZxyz(17.5752, 9.2089, 23.7688)
Luminance0.0921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D87 #1D972D
analogous
#6A1D97 #971D87 #971D4A
triadic
#971D87 #87971D #1D8797
tetradic
#971D87 #976A1D #1D972D #1D4A97
square
#971D87 #976A1D #1D972D #1D4A97
split-complementary
#971D87 #4A971D #1D976A
monochromatic
#30092B #641359 #971D87 #CA27B5 #DE51CB

Accessibility & contrast

On white

7.39
#971D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#971D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D87
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D87#FFFFFF#000000##FFFFFF
##971D871.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4A8A
Deuteranopia (green-blind)
#4A5C84
Tritanopia (blue-blind)
#9E2A52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971d87;
/* rgb */ color: rgb(151, 29, 135);
/* oklch */ color: oklch(47.7% 0.191 334.4);
Tailwind
colors: {
  custom: {
    50: '#b969aa',
    500: '#971d87',
    950: '#000000',
  },
}
SCSS
$custom: #971d87;
$custom-light: #b969aa;
$custom-dark: #000000;
JSON
{
  "hex": "#971d87",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 307.869,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47698,
    "c": 0.19071,
    "h": 334.4
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#971D87
secondary
#4FC05E
accent
#EB543D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971D87

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

Preview Lab → · Contrast checker → · Palette generator →

#971D87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva