#971E96#971E96

#971E96 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.201 H 328.5°. Best body text is #FFFFFF at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#971E96
RGBrgb(151, 30, 150)
HSLhsl(300, 67%, 35%)
HSVhsv(300, 80%, 59%)
CMYKcmyk(0%, 80.1%, 0.7%, 40.8%)
CIE-LABlab(37.32, 61.15, -37.83)
CIE-LCHlch(37.32, 71.90, 328.26°)
OKLaboklab(48.64% 0.1712 -0.1049)
OKLCHoklch(48.64% 0.201 328.5)
XYZxyz(18.7316, 9.7113, 29.7361)
Luminance0.0971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E96 #1E971F
analogous
#5B1E97 #971E96 #971E59
triadic
#971E96 #96971E #1E9697
tetradic
#971E96 #975B1E #1E971F #1E5997
square
#971E96 #975B1E #1E971F #1E5997
split-complementary
#971E96 #59971E #1E975B
monochromatic
#310A31 #641463 #971E96 #CA28C9 #DD53DC

Accessibility & contrast

On white

7.14
#971E96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#971E96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E96
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E96#FFFFFF#000000##FFFFFF
##971E961.007.142.947.14
#FFFFFF7.141.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971e96;
/* rgb */ color: rgb(151, 30, 150);
/* oklch */ color: oklch(48.6% 0.201 328.5);
Tailwind
colors: {
  custom: {
    50: '#b96ab5',
    500: '#971e96',
    950: '#000000',
  },
}
SCSS
$custom: #971e96;
$custom-light: #b96ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#971e96",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 300.496,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48637,
    "c": 0.20079,
    "h": 328.5
  },
  "luminance": 0.0971
}

Semantic roles & 50–950 ramp

primary
#971E96
secondary
#51C052
accent
#EA3F3E
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971E96

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

Preview Lab → · Contrast checker → · Palette generator →

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