#971D86#971D86

#971D86 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.190 H 334.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#971D86
RGBrgb(151, 29, 134)
HSLhsl(308, 68%, 35%)
HSVhsv(308, 81%, 59%)
CMYKcmyk(0%, 80.8%, 11.3%, 40.8%)
CIE-LABlab(36.33, 58.91, -29.57)
CIE-LCHlch(36.33, 65.92, 333.35°)
OKLaboklab(47.64% 0.1719 -0.081)
OKLCHoklch(47.64% 0.19 334.8)
XYZxyz(17.5052, 9.1809, 23.3998)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D86 #1D972E
analogous
#6B1D97 #971D86 #971D49
triadic
#971D86 #86971D #1D8697
tetradic
#971D86 #976B1D #1D972E #1D4997
square
#971D86 #976B1D #1D972E #1D4997
split-complementary
#971D86 #49971D #1D976B
monochromatic
#30092B #641358 #971D86 #CA27B4 #DE51CA

Accessibility & contrast

On white

7.41
#971D86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971D86
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D86#FFFFFF#000000##FFFFFF
##971D861.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4A89
Deuteranopia (green-blind)
#4B5C83
Tritanopia (blue-blind)
#9F2951
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971d86;
/* rgb */ color: rgb(151, 29, 134);
/* oklch */ color: oklch(47.6% 0.190 334.8);
Tailwind
colors: {
  custom: {
    50: '#b969a9',
    500: '#971d86',
    950: '#000000',
  },
}
SCSS
$custom: #971d86;
$custom-light: #b969a9;
$custom-dark: #000000;
JSON
{
  "hex": "#971d86",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 134
  },
  "hsl": {
    "h": 308.361,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47643,
    "c": 0.19001,
    "h": 334.8
  },
  "luminance": 0.09179
}

Semantic roles & 50–950 ramp

primary
#971D86
secondary
#4FC05F
accent
#EB553D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971D86

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

Preview Lab → · Contrast checker → · Palette generator →

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