#971E82#971E82

#971E82 is a mid, vivid pink. Relative luminance 0.091; OKLCH L 47.5% C 0.186 H 336.5°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#971E82
RGBrgb(151, 30, 130)
HSLhsl(310, 67%, 35%)
HSVhsv(310, 80%, 59%)
CMYKcmyk(0%, 80.1%, 13.9%, 40.8%)
CIE-LABlab(36.22, 58.05, -27.27)
CIE-LCHlch(36.22, 64.14, 334.84°)
OKLaboklab(47.49% 0.1708 -0.0744)
OKLCHoklch(47.49% 0.186 336.5)
XYZxyz(17.2564, 9.1212, 21.9665)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E82 #1E9733
analogous
#6F1E97 #971E82 #971E46
triadic
#971E82 #82971E #1E8297
tetradic
#971E82 #976F1E #1E9733 #1E4697
square
#971E82 #976F1E #1E9733 #1E4697
split-complementary
#971E82 #46971E #1E976F
monochromatic
#310A2A #641456 #971E82 #CA28AE #DD53C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971E82#FFFFFF#000000##FFFFFF
##971E821.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)
#214A85
Deuteranopia (green-blind)
#4D5C7F
Tritanopia (blue-blind)
#9F284F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971e82;
/* rgb */ color: rgb(151, 30, 130);
/* oklch */ color: oklch(47.5% 0.186 336.5);
Tailwind
colors: {
  custom: {
    50: '#b969a6',
    500: '#971e82',
    950: '#000000',
  },
}
SCSS
$custom: #971e82;
$custom-light: #b969a6;
$custom-dark: #000000;
JSON
{
  "hex": "#971e82",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 310.413,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47494,
    "c": 0.18631,
    "h": 336.5
  },
  "luminance": 0.0912
}

Semantic roles & 50–950 ramp

primary
#971E82
secondary
#51C064
accent
#EA5C3E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971E82

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

Preview Lab → · Contrast checker → · Palette generator →

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