#971F96#971F96

#971F96 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.200 H 328.5°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#971F96
RGBrgb(151, 31, 150)
HSLhsl(301, 66%, 36%)
HSVhsv(301, 79%, 59%)
CMYKcmyk(0%, 79.5%, 0.7%, 40.8%)
CIE-LABlab(37.41, 60.87, -37.68)
CIE-LCHlch(37.41, 71.59, 328.24°)
OKLaboklab(48.7% 0.1704 -0.1045)
OKLCHoklch(48.7% 0.2 328.5)
XYZxyz(18.7573, 9.7627, 29.7447)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971F96 #1F9720
analogous
#5C1F97 #971F96 #971F5A
triadic
#971F96 #96971F #1F9697
tetradic
#971F96 #975C1F #1F9720 #1F5A97
square
#971F96 #975C1F #1F9720 #1F5A97
split-complementary
#971F96 #5A971F #1F975C
monochromatic
#310A31 #641564 #971F96 #CA29C8 #DC54DB

Accessibility & contrast

On white

7.11
#971F96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#971F96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971F96
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971F96#FFFFFF#000000##FFFFFF
##971F961.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#435D93
Tritanopia (blue-blind)
#9C335B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971f96;
/* rgb */ color: rgb(151, 31, 150);
/* oklch */ color: oklch(48.7% 0.200 328.5);
Tailwind
colors: {
  custom: {
    50: '#b96ab5',
    500: '#971f96',
    950: '#000000',
  },
}
SCSS
$custom: #971f96;
$custom-light: #b96ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#971f96",
  "rgb": {
    "r": 151,
    "g": 31,
    "b": 150
  },
  "hsl": {
    "h": 300.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.48704,
    "c": 0.19991,
    "h": 328.5
  },
  "luminance": 0.09761
}

Semantic roles & 50–950 ramp

primary
#971F96
secondary
#52BF53
accent
#E9403F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971F96

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

Preview Lab → · Contrast checker → · Palette generator →

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