#971E88#971E88

#971E88 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.191 H 334.0°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#971E88
RGBrgb(151, 30, 136)
HSLhsl(307, 67%, 35%)
HSVhsv(307, 80%, 59%)
CMYKcmyk(0%, 80.1%, 9.9%, 40.8%)
CIE-LABlab(36.53, 58.94, -30.49)
CIE-LCHlch(36.53, 66.36, 332.65°)
OKLaboklab(47.82% 0.1712 -0.0836)
OKLCHoklch(47.82% 0.191 334)
XYZxyz(17.6709, 9.2870, 24.1497)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E88 #1E972D
analogous
#691E97 #971E88 #971E4B
triadic
#971E88 #88971E #1E8897
tetradic
#971E88 #97691E #1E972D #1E4B97
square
#971E88 #97691E #1E972D #1E4B97
split-complementary
#971E88 #4B971E #1E9769
monochromatic
#310A2C #64145A #971E88 #CA28B6 #DD53CC

Accessibility & contrast

On white

7.35
#971E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#971E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E88
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E88#FFFFFF#000000##FFFFFF
##971E881.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4B8B
Deuteranopia (green-blind)
#4A5C85
Tritanopia (blue-blind)
#9E2B52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971e88;
/* rgb */ color: rgb(151, 30, 136);
/* oklch */ color: oklch(47.8% 0.191 334.0);
Tailwind
colors: {
  custom: {
    50: '#b969ab',
    500: '#971e88',
    950: '#000000',
  },
}
SCSS
$custom: #971e88;
$custom-light: #b969ab;
$custom-dark: #000000;
JSON
{
  "hex": "#971e88",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 307.438,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.47821,
    "c": 0.19052,
    "h": 334
  },
  "luminance": 0.09285
}

Semantic roles & 50–950 ramp

primary
#971E88
secondary
#51C05F
accent
#EA533E
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971E88

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

Preview Lab → · Contrast checker → · Palette generator →

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