#971D9E#971D9E

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

Color values

HEX#971D9E
RGBrgb(151, 29, 158)
HSLhsl(297, 69%, 37%)
HSVhsv(297, 82%, 62%)
CMYKcmyk(4.4%, 81.6%, 0%, 38%)
CIE-LABlab(37.71, 62.73, -42.06)
CIE-LCHlch(37.71, 75.53, 326.16°)
OKLaboklab(49.07% 0.1715 -0.1172)
OKLCHoklch(49.07% 0.208 325.6)
XYZxyz(19.3730, 9.9280, 33.2370)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D9E #249E1D
analogous
#571D9E #971D9E #9E1D65
triadic
#971D9E #9E971D #1D9E97
tetradic
#971D9E #9E571D #249E1D #1D659E
square
#971D9E #9E571D #249E1D #1D659E
split-complementary
#971D9E #659E1D #1D9E57
monochromatic
#340A37 #66146A #971D9E #C826D2 #D856E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##971D9E#FFFFFF#000000##FFFFFF
##971D9E1.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)
#004FA1
Deuteranopia (green-blind)
#3D5E9B
Tritanopia (blue-blind)
#9B375F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #971d9e;
/* rgb */ color: rgb(151, 29, 158);
/* oklch */ color: oklch(49.1% 0.208 325.6);
Tailwind
colors: {
  custom: {
    50: '#ba6abb',
    500: '#971d9e',
    950: '#000000',
  },
}
SCSS
$custom: #971d9e;
$custom-light: #ba6abb;
$custom-dark: #000000;
JSON
{
  "hex": "#971d9e",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 158
  },
  "hsl": {
    "h": 296.744,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49072,
    "c": 0.2077,
    "h": 325.6
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#971D9E
secondary
#5AC354
accent
#EC3C46
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #971D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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