#971E9B#971E9B

#971E9B is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.9% C 0.205 H 326.7°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#971E9B
RGBrgb(151, 30, 155)
HSLhsl(298, 68%, 36%)
HSVhsv(298, 81%, 61%)
CMYKcmyk(2.6%, 80.6%, 0%, 39.2%)
CIE-LABlab(37.62, 61.97, -40.39)
CIE-LCHlch(37.62, 73.97, 326.90°)
OKLaboklab(48.95% 0.171 -0.1123)
OKLCHoklch(48.95% 0.205 326.7)
XYZxyz(19.1428, 9.8758, 31.9020)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971E9B #229B1E
analogous
#591E9B #971E9B #9B1E61
triadic
#971E9B #9B971E #1E9B97
tetradic
#971E9B #9B591E #229B1E #1E619B
square
#971E9B #9B591E #229B1E #1E619B
split-complementary
#971E9B #619B1E #1E9B59
monochromatic
#330A34 #651468 #971E9B #C928CE #DA55DE

Accessibility & contrast

On white

7.06
#971E9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#971E9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971E9B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971E9B#FFFFFF#000000##FFFFFF
##971E9B1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#3F5E98
Tritanopia (blue-blind)
#9B355D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #971e9b;
/* rgb */ color: rgb(151, 30, 155);
/* oklch */ color: oklch(48.9% 0.205 326.7);
Tailwind
colors: {
  custom: {
    50: '#ba6ab9',
    500: '#971e9b',
    950: '#000000',
  },
}
SCSS
$custom: #971e9b;
$custom-light: #ba6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#971e9b",
  "rgb": {
    "r": 151,
    "g": 30,
    "b": 155
  },
  "hsl": {
    "h": 298.08,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48946,
    "c": 0.20457,
    "h": 326.7
  },
  "luminance": 0.09874
}

Semantic roles & 50–950 ramp

primary
#971E9B
secondary
#57C253
accent
#EA3D43
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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