#971C86#971C86

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

Color values

HEX#971C86
RGBrgb(151, 28, 134)
HSLhsl(308, 69%, 35%)
HSVhsv(308, 81%, 59%)
CMYKcmyk(0%, 81.5%, 11.3%, 40.8%)
CIE-LABlab(36.24, 59.18, -29.72)
CIE-LCHlch(36.24, 66.22, 333.34°)
OKLaboklab(47.58% 0.1727 -0.0814)
OKLCHoklch(47.58% 0.191 334.8)
XYZxyz(17.4811, 9.1327, 23.3918)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C86 #1C972D
analogous
#6B1C97 #971C86 #971C48
triadic
#971C86 #86971C #1C8697
tetradic
#971C86 #976B1C #1C972D #1C4897
square
#971C86 #976B1C #1C972D #1C4897
split-complementary
#971C86 #48971C #1C976B
monochromatic
#30092A #631258 #971C86 #CB26B4 #DE4FCB

Accessibility & contrast

On white

7.43
#971C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#971C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C86
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C86#FFFFFF#000000##FFFFFF
##971C861.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971c86;
/* rgb */ color: rgb(151, 28, 134);
/* oklch */ color: oklch(47.6% 0.191 334.8);
Tailwind
colors: {
  custom: {
    50: '#b969a9',
    500: '#971c86',
    950: '#000000',
  },
}
SCSS
$custom: #971c86;
$custom-light: #b969a9;
$custom-dark: #000000;
JSON
{
  "hex": "#971c86",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 134
  },
  "hsl": {
    "h": 308.293,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47577,
    "c": 0.19089,
    "h": 334.8
  },
  "luminance": 0.09131
}

Semantic roles & 50–950 ramp

primary
#971C86
secondary
#4EC15E
accent
#EC543C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971C86

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

Preview Lab → · Contrast checker → · Palette generator →

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