#971E84#971E84

#971E84 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.188 H 335.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#971E84
RGBrgb(151, 30, 132)
HSLhsl(309, 67%, 35%)
HSVhsv(309, 80%, 59%)
CMYKcmyk(0%, 80.1%, 12.6%, 40.8%)
CIE-LABlab(36.32, 58.34, -28.35)
CIE-LCHlch(36.32, 64.87, 334.08°)
OKLaboklab(47.6% 0.171 -0.0775)
OKLCHoklch(47.6% 0.188 335.6)
XYZxyz(17.3919, 9.1754, 22.6804)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E84 #1E9731
analogous
#6D1E97 #971E84 #971E48
triadic
#971E84 #84971E #1E8497
tetradic
#971E84 #976D1E #1E9731 #1E4897
square
#971E84 #976D1E #1E9731 #1E4897
split-complementary
#971E84 #48971E #1E976D
monochromatic
#310A2B #641457 #971E84 #CA28B1 #DD53C7

Accessibility & contrast

On white

7.41
#971E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#971E84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E84
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E84#FFFFFF#000000##FFFFFF
##971E841.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971e84;
/* rgb */ color: rgb(151, 30, 132);
/* oklch */ color: oklch(47.6% 0.188 335.6);
Tailwind
colors: {
  custom: {
    50: '#b969a8',
    500: '#971e84',
    950: '#000000',
  },
}
SCSS
$custom: #971e84;
$custom-light: #b969a8;
$custom-dark: #000000;
JSON
{
  "hex": "#971e84",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 309.421,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47601,
    "c": 0.1877,
    "h": 335.6
  },
  "luminance": 0.09174
}

Semantic roles & 50–950 ramp

primary
#971E84
secondary
#51C062
accent
#EA593E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971E84

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

Preview Lab → · Contrast checker → · Palette generator →

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