#971C87#971C87

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

Color values

HEX#971C87
RGBrgb(151, 28, 135)
HSLhsl(308, 69%, 35%)
HSVhsv(308, 81%, 59%)
CMYKcmyk(0%, 81.5%, 10.6%, 40.8%)
CIE-LABlab(36.29, 59.33, -30.25)
CIE-LCHlch(36.29, 66.60, 332.98°)
OKLaboklab(47.63% 0.1727 -0.0829)
OKLCHoklch(47.63% 0.192 334.3)
XYZxyz(17.5511, 9.1607, 23.7608)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C87 #1C972C
analogous
#6A1C97 #971C87 #971C49
triadic
#971C87 #87971C #1C8797
tetradic
#971C87 #976A1C #1C972C #1C4997
square
#971C87 #976A1C #1C972C #1C4997
split-complementary
#971C87 #49971C #1C976A
monochromatic
#30092B #631259 #971C87 #CB26B5 #DE4FCC

Accessibility & contrast

On white

7.42
#971C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971C87
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C87#FFFFFF#000000##FFFFFF
##971C871.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8A
Deuteranopia (green-blind)
#4A5C84
Tritanopia (blue-blind)
#9F2951
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971c87;
/* rgb */ color: rgb(151, 28, 135);
/* oklch */ color: oklch(47.6% 0.192 334.3);
Tailwind
colors: {
  custom: {
    50: '#b969aa',
    500: '#971c87',
    950: '#000000',
  },
}
SCSS
$custom: #971c87;
$custom-light: #b969aa;
$custom-dark: #000000;
JSON
{
  "hex": "#971c87",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 307.805,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47632,
    "c": 0.19159,
    "h": 334.3
  },
  "luminance": 0.09159
}

Semantic roles & 50–950 ramp

primary
#971C87
secondary
#4EC15D
accent
#EC533C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971C87

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

Preview Lab → · Contrast checker → · Palette generator →

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