#971F84#971F84

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

Color values

HEX#971F84
RGBrgb(151, 31, 132)
HSLhsl(310, 66%, 36%)
HSVhsv(310, 79%, 59%)
CMYKcmyk(0%, 79.5%, 12.6%, 40.8%)
CIE-LABlab(36.42, 58.06, -28.20)
CIE-LCHlch(36.42, 64.55, 334.10°)
OKLaboklab(47.67% 0.1701 -0.077)
OKLCHoklch(47.67% 0.187 335.6)
XYZxyz(17.4176, 9.2268, 22.6890)
Luminance0.0922 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F84 #1F9732
analogous
#6E1F97 #971F84 #971F48
triadic
#971F84 #84971F #1F8497
tetradic
#971F84 #976E1F #1F9732 #1F4897
square
#971F84 #976E1F #1F9732 #1F4897
split-complementary
#971F84 #48971F #1F976E
monochromatic
#310A2B #641558 #971F84 #CA29B0 #DC54C7

Accessibility & contrast

On white

7.38
#971F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#971F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F84
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F84#FFFFFF#000000##FFFFFF
##971F841.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A87
Deuteranopia (green-blind)
#4C5C81
Tritanopia (blue-blind)
#9F2950
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971f84;
/* rgb */ color: rgb(151, 31, 132);
/* oklch */ color: oklch(47.7% 0.187 335.6);
Tailwind
colors: {
  custom: {
    50: '#b96aa8',
    500: '#971f84',
    950: '#000000',
  },
}
SCSS
$custom: #971f84;
$custom-light: #b96aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#971f84",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 132
  },
  "hsl": {
    "h": 309.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47671,
    "c": 0.18675,
    "h": 335.6
  },
  "luminance": 0.09225
}

Semantic roles & 50–950 ramp

primary
#971F84
secondary
#52BF64
accent
#E95A3F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971F84

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

Preview Lab → · Contrast checker → · Palette generator →

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