#971F91#971F91

#971F91 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.196 H 330.4°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#971F91
RGBrgb(151, 31, 145)
HSLhsl(303, 66%, 36%)
HSVhsv(303, 79%, 59%)
CMYKcmyk(0%, 79.5%, 4%, 40.8%)
CIE-LABlab(37.12, 60.07, -35.09)
CIE-LCHlch(37.12, 69.56, 329.71°)
OKLaboklab(48.41% 0.1705 -0.0969)
OKLCHoklch(48.41% 0.196 330.4)
XYZxyz(18.3633, 9.6051, 27.6694)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F91 #1F9725
analogous
#611F97 #971F91 #971F55
triadic
#971F91 #91971F #1F9197
tetradic
#971F91 #97611F #1F9725 #1F5597
square
#971F91 #97611F #1F9725 #1F5597
split-complementary
#971F91 #55971F #1F9761
monochromatic
#310A2F #641560 #971F91 #CA29C2 #DC54D5

Accessibility & contrast

On white

7.19
#971F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#971F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F91
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F91#FFFFFF#000000##FFFFFF
##971F911.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4D94
Deuteranopia (green-blind)
#465D8E
Tritanopia (blue-blind)
#9D3158
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971f91;
/* rgb */ color: rgb(151, 31, 145);
/* oklch */ color: oklch(48.4% 0.196 330.4);
Tailwind
colors: {
  custom: {
    50: '#b96ab2',
    500: '#971f91',
    950: '#000000',
  },
}
SCSS
$custom: #971f91;
$custom-light: #b96ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#971f91",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 303,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48405,
    "c": 0.19616,
    "h": 330.4
  },
  "luminance": 0.09604
}

Semantic roles & 50–950 ramp

primary
#971F91
secondary
#52BF58
accent
#E9473F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971F91

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

Preview Lab → · Contrast checker → · Palette generator →

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