#971D84#971D84

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

Color values

HEX#971D84
RGBrgb(151, 29, 132)
HSLhsl(309, 68%, 35%)
HSVhsv(309, 81%, 59%)
CMYKcmyk(0%, 80.8%, 12.6%, 40.8%)
CIE-LABlab(36.23, 58.62, -28.50)
CIE-LCHlch(36.23, 65.18, 334.07°)
OKLaboklab(47.53% 0.1718 -0.0779)
OKLCHoklch(47.53% 0.189 335.6)
XYZxyz(17.3670, 9.1256, 22.6721)
Luminance0.0912 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D84 #1D9730
analogous
#6D1D97 #971D84 #971D47
triadic
#971D84 #84971D #1D8497
tetradic
#971D84 #976D1D #1D9730 #1D4797
square
#971D84 #976D1D #1D9730 #1D4797
split-complementary
#971D84 #47971D #1D976D
monochromatic
#30092A #641357 #971D84 #CA27B1 #DE51C8

Accessibility & contrast

On white

7.43
#971D84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971D84
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D84#FFFFFF#000000##FFFFFF
##971D841.007.432.827.43
#FFFFFF7.431.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4A87
Deuteranopia (green-blind)
#4C5C81
Tritanopia (blue-blind)
#9F2850
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971d84;
/* rgb */ color: rgb(151, 29, 132);
/* oklch */ color: oklch(47.5% 0.189 335.6);
Tailwind
colors: {
  custom: {
    50: '#b969a8',
    500: '#971d84',
    950: '#000000',
  },
}
SCSS
$custom: #971d84;
$custom-light: #b969a8;
$custom-dark: #000000;
JSON
{
  "hex": "#971d84",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 132
  },
  "hsl": {
    "h": 309.344,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47533,
    "c": 0.18861,
    "h": 335.6
  },
  "luminance": 0.09124
}

Semantic roles & 50–950 ramp

primary
#971D84
secondary
#4FC061
accent
#EB583D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971D84

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

Preview Lab → · Contrast checker → · Palette generator →

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