#971E8F#971E8F

#971E8F is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.196 H 331.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#971E8F
RGBrgb(151, 30, 143)
HSLhsl(304, 67%, 35%)
HSVhsv(304, 80%, 59%)
CMYKcmyk(0%, 80.1%, 5.3%, 40.8%)
CIE-LABlab(36.92, 60.03, -34.19)
CIE-LCHlch(36.92, 69.08, 330.33°)
OKLaboklab(48.22% 0.1713 -0.0943)
OKLCHoklch(48.22% 0.196 331.2)
XYZxyz(18.1847, 9.4925, 26.8558)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E8F #1E9726
analogous
#621E97 #971E8F #971E52
triadic
#971E8F #8F971E #1E8F97
tetradic
#971E8F #97621E #1E9726 #1E5297
square
#971E8F #97621E #1E9726 #1E5297
split-complementary
#971E8F #52971E #1E9762
monochromatic
#310A2E #64145F #971E8F #CA28BF #DD53D4

Accessibility & contrast

On white

7.25
#971E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#971E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E8F
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E8F#FFFFFF#000000##FFFFFF
##971E8F1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4C92
Deuteranopia (green-blind)
#475D8C
Tritanopia (blue-blind)
#9D2F56
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #971e8f;
/* rgb */ color: rgb(151, 30, 143);
/* oklch */ color: oklch(48.2% 0.196 331.2);
Tailwind
colors: {
  custom: {
    50: '#b96ab0',
    500: '#971e8f',
    950: '#000000',
  },
}
SCSS
$custom: #971e8f;
$custom-light: #b96ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#971e8f",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 303.967,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4822,
    "c": 0.19558,
    "h": 331.2
  },
  "luminance": 0.09491
}

Semantic roles & 50–950 ramp

primary
#971E8F
secondary
#51C058
accent
#EA493E
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #971E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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