#971E95#971E95

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

Color values

HEX#971E95
RGBrgb(151, 30, 149)
HSLhsl(301, 67%, 35%)
HSVhsv(301, 80%, 59%)
CMYKcmyk(0%, 80.1%, 1.3%, 40.8%)
CIE-LABlab(37.26, 60.98, -37.31)
CIE-LCHlch(37.26, 71.49, 328.54°)
OKLaboklab(48.58% 0.1712 -0.1034)
OKLCHoklch(48.58% 0.2 328.9)
XYZxyz(18.6514, 9.6792, 29.3139)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E95 #1E9720
analogous
#5D1E97 #971E95 #971E58
triadic
#971E95 #95971E #1E9597
tetradic
#971E95 #975D1E #1E9720 #1E5897
square
#971E95 #975D1E #1E9720 #1E5897
split-complementary
#971E95 #58971E #1E975D
monochromatic
#310A30 #641463 #971E95 #CA28C7 #DD53DA

Accessibility & contrast

On white

7.15
#971E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971E95
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E95#FFFFFF#000000##FFFFFF
##971E951.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E98
Deuteranopia (green-blind)
#435D92
Tritanopia (blue-blind)
#9C325A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971e95;
/* rgb */ color: rgb(151, 30, 149);
/* oklch */ color: oklch(48.6% 0.200 328.9);
Tailwind
colors: {
  custom: {
    50: '#b96ab5',
    500: '#971e95',
    950: '#000000',
  },
}
SCSS
$custom: #971e95;
$custom-light: #b96ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#971e95",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 300.992,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48577,
    "c": 0.20003,
    "h": 328.9
  },
  "luminance": 0.09678
}

Semantic roles & 50–950 ramp

primary
#971E95
secondary
#51C053
accent
#EA413E
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971E95

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

Preview Lab → · Contrast checker → · Palette generator →

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