#971E9D#971E9D

#971E9D is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.206 H 326.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#971E9D
RGBrgb(151, 30, 157)
HSLhsl(297, 68%, 37%)
HSVhsv(297, 81%, 62%)
CMYKcmyk(3.8%, 80.9%, 0%, 38.4%)
CIE-LABlab(37.74, 62.30, -41.41)
CIE-LCHlch(37.74, 74.81, 326.39°)
OKLaboklab(49.07% 0.1708 -0.1153)
OKLCHoklch(49.07% 0.206 326)
XYZxyz(19.3122, 9.9435, 32.7939)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E9D #249D1E
analogous
#581E9D #971E9D #9D1E64
triadic
#971E9D #9D971E #1E9D97
tetradic
#971E9D #9D581E #249D1E #1E649D
square
#971E9D #9D581E #249D1E #1E649D
split-complementary
#971E9D #649D1E #1E9D58
monochromatic
#340A36 #66146A #971E9D #C828D0 #D857DF

Accessibility & contrast

On white

7.03
#971E9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#971E9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E9D
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E9D#FFFFFF#000000##FFFFFF
##971E9D1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA0
Deuteranopia (green-blind)
#3E5E9A
Tritanopia (blue-blind)
#9B375E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #971e9d;
/* rgb */ color: rgb(151, 30, 157);
/* oklch */ color: oklch(49.1% 0.206 326.0);
Tailwind
colors: {
  custom: {
    50: '#ba6aba',
    500: '#971e9d',
    950: '#000000',
  },
}
SCSS
$custom: #971e9d;
$custom-light: #ba6aba;
$custom-dark: #000000;
JSON
{
  "hex": "#971e9d",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 157
  },
  "hsl": {
    "h": 297.165,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.20611,
    "h": 326
  },
  "luminance": 0.09942
}

Semantic roles & 50–950 ramp

primary
#971E9D
secondary
#5AC254
accent
#EB3D45
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #971E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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