#971B87#971B87

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

Color values

HEX#971B87
RGBrgb(151, 27, 135)
HSLhsl(308, 70%, 35%)
HSVhsv(308, 82%, 59%)
CMYKcmyk(0%, 82.1%, 10.6%, 40.8%)
CIE-LABlab(36.20, 59.59, -30.39)
CIE-LCHlch(36.20, 66.89, 332.98°)
OKLaboklab(47.57% 0.1735 -0.0833)
OKLCHoklch(47.57% 0.192 334.3)
XYZxyz(17.5278, 9.1140, 23.7530)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B87 #1B972B
analogous
#691B97 #971B87 #971B49
triadic
#971B87 #87971B #1B8797
tetradic
#971B87 #97691B #1B972B #1B4997
square
#971B87 #97691B #1B972B #1B4997
split-complementary
#971B87 #49971B #1B9769
monochromatic
#2F082A #631259 #971B87 #CB24B5 #DF4DCC

Accessibility & contrast

On white

7.44
#971B87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#971B87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B87
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B87#FFFFFF#000000##FFFFFF
##971B871.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971b87;
/* rgb */ color: rgb(151, 27, 135);
/* oklch */ color: oklch(47.6% 0.192 334.3);
Tailwind
colors: {
  custom: {
    50: '#b968aa',
    500: '#971b87',
    950: '#000000',
  },
}
SCSS
$custom: #971b87;
$custom-light: #b968aa;
$custom-dark: #000000;
JSON
{
  "hex": "#971b87",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 135
  },
  "hsl": {
    "h": 307.742,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47569,
    "c": 0.19245,
    "h": 334.3
  },
  "luminance": 0.09112
}

Semantic roles & 50–950 ramp

primary
#971B87
secondary
#4CC15B
accent
#EC523B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971B87

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

Preview Lab → · Contrast checker → · Palette generator →

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