#971E97#971E97

#971E97 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.7% C 0.202 H 328.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#971E97
RGBrgb(151, 30, 151)
HSLhsl(300, 67%, 35%)
HSVhsv(300, 80%, 59%)
CMYKcmyk(0%, 80.1%, 0%, 40.8%)
CIE-LABlab(37.38, 61.31, -38.34)
CIE-LCHlch(37.38, 72.31, 327.98°)
OKLaboklab(48.7% 0.1712 -0.1064)
OKLCHoklch(48.7% 0.202 328.1)
XYZxyz(18.8125, 9.7436, 30.1620)
Luminance0.0974 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E97 #1E971E
analogous
#5A1E97 #971E97 #971E5A
triadic
#971E97 #97971E #1E9797
tetradic
#971E97 #975A1E #1E971E #1E5A97
square
#971E97 #975A1E #1E971E #1E5A97
split-complementary
#971E97 #5A971E #1E975A
monochromatic
#310A31 #641464 #971E97 #CA28CA #DD53DD

Accessibility & contrast

On white

7.12
#971E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971E97
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E97#FFFFFF#000000##FFFFFF
##971E971.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9A
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#9C335B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971e97;
/* rgb */ color: rgb(151, 30, 151);
/* oklch */ color: oklch(48.7% 0.202 328.1);
Tailwind
colors: {
  custom: {
    50: '#b96ab6',
    500: '#971e97',
    950: '#000000',
  },
}
SCSS
$custom: #971e97;
$custom-light: #b96ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#971e97",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 151
  },
  "hsl": {
    "h": 300,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48698,
    "c": 0.20154,
    "h": 328.1
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

primary
#971E97
secondary
#51C051
accent
#EA3E3E
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971E97

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

Preview Lab → · Contrast checker → · Palette generator →

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