#971E87#971E87

#971E87 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.190 H 334.4°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#971E87
RGBrgb(151, 30, 135)
HSLhsl(308, 67%, 35%)
HSVhsv(308, 80%, 59%)
CMYKcmyk(0%, 80.1%, 10.6%, 40.8%)
CIE-LABlab(36.48, 58.79, -29.96)
CIE-LCHlch(36.48, 65.99, 333.00°)
OKLaboklab(47.77% 0.1711 -0.0821)
OKLCHoklch(47.77% 0.19 334.4)
XYZxyz(17.6001, 9.2587, 23.7771)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E87 #1E972E
analogous
#6A1E97 #971E87 #971E4A
triadic
#971E87 #87971E #1E8797
tetradic
#971E87 #976A1E #1E972E #1E4A97
square
#971E87 #976A1E #1E972E #1E4A97
split-complementary
#971E87 #4A971E #1E976A
monochromatic
#310A2C #641459 #971E87 #CA28B5 #DD53CA

Accessibility & contrast

On white

7.36
#971E87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#971E87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E87
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E87#FFFFFF#000000##FFFFFF
##971E871.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971e87;
/* rgb */ color: rgb(151, 30, 135);
/* oklch */ color: oklch(47.8% 0.190 334.4);
Tailwind
colors: {
  custom: {
    50: '#b969aa',
    500: '#971e87',
    950: '#000000',
  },
}
SCSS
$custom: #971e87;
$custom-light: #b969aa;
$custom-dark: #000000;
JSON
{
  "hex": "#971e87",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 307.934,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47765,
    "c": 0.18981,
    "h": 334.4
  },
  "luminance": 0.09257
}

Semantic roles & 50–950 ramp

primary
#971E87
secondary
#51C060
accent
#EA553E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971E87

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

Preview Lab → · Contrast checker → · Palette generator →

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