#971B86#971B86

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

Color values

HEX#971B86
RGBrgb(151, 27, 134)
HSLhsl(308, 70%, 35%)
HSVhsv(308, 82%, 59%)
CMYKcmyk(0%, 82.1%, 11.3%, 40.8%)
CIE-LABlab(36.15, 59.44, -29.86)
CIE-LCHlch(36.15, 66.52, 333.33°)
OKLaboklab(47.51% 0.1734 -0.0818)
OKLCHoklch(47.51% 0.192 334.8)
XYZxyz(17.4577, 9.0860, 23.3840)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B86 #1B972C
analogous
#6A1B97 #971B86 #971B48
triadic
#971B86 #86971B #1B8697
tetradic
#971B86 #976A1B #1B972C #1B4897
square
#971B86 #976A1B #1B972C #1B4897
split-complementary
#971B86 #48971B #1B976A
monochromatic
#2F082A #631258 #971B86 #CB24B4 #DF4DCB

Accessibility & contrast

On white

7.46
#971B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971B86
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B86#FFFFFF#000000##FFFFFF
##971B861.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A89
Deuteranopia (green-blind)
#4A5B83
Tritanopia (blue-blind)
#9F2851
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971b86;
/* rgb */ color: rgb(151, 27, 134);
/* oklch */ color: oklch(47.5% 0.192 334.8);
Tailwind
colors: {
  custom: {
    50: '#b968a9',
    500: '#971b86',
    950: '#000000',
  },
}
SCSS
$custom: #971b86;
$custom-light: #b968a9;
$custom-dark: #000000;
JSON
{
  "hex": "#971b86",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 308.226,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47513,
    "c": 0.19175,
    "h": 334.8
  },
  "luminance": 0.09084
}

Semantic roles & 50–950 ramp

primary
#971B86
secondary
#4CC15C
accent
#EC543B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971B86

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

Preview Lab → · Contrast checker → · Palette generator →

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