#971F86#971F86

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

Color values

HEX#971F86
RGBrgb(151, 31, 134)
HSLhsl(309, 66%, 36%)
HSVhsv(309, 79%, 59%)
CMYKcmyk(0%, 79.5%, 11.3%, 40.8%)
CIE-LABlab(36.52, 58.36, -29.27)
CIE-LCHlch(36.52, 65.29, 333.36°)
OKLaboklab(47.78% 0.1703 -0.0801)
OKLCHoklch(47.78% 0.188 334.8)
XYZxyz(17.5558, 9.2821, 23.4167)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F86 #1F9730
analogous
#6C1F97 #971F86 #971F4A
triadic
#971F86 #86971F #1F8697
tetradic
#971F86 #976C1F #1F9730 #1F4A97
square
#971F86 #976C1F #1F9730 #1F4A97
split-complementary
#971F86 #4A971F #1F976C
monochromatic
#310A2C #641559 #971F86 #CA29B3 #DC54C9

Accessibility & contrast

On white

7.35
#971F86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#971F86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F86
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F86#FFFFFF#000000##FFFFFF
##971F861.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B89
Deuteranopia (green-blind)
#4B5C83
Tritanopia (blue-blind)
#9F2B52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971f86;
/* rgb */ color: rgb(151, 31, 134);
/* oklch */ color: oklch(47.8% 0.188 334.8);
Tailwind
colors: {
  custom: {
    50: '#b96aa9',
    500: '#971f86',
    950: '#000000',
  },
}
SCSS
$custom: #971f86;
$custom-light: #b96aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#971f86",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 134
  },
  "hsl": {
    "h": 308.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.4778,
    "c": 0.18816,
    "h": 334.8
  },
  "luminance": 0.09281
}

Semantic roles & 50–950 ramp

primary
#971F86
secondary
#52BF62
accent
#E9573F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971F86

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

Preview Lab → · Contrast checker → · Palette generator →

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