#971D96#971D96

#971D96 is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.202 H 328.5°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#971D96
RGBrgb(151, 29, 150)
HSLhsl(300, 68%, 35%)
HSVhsv(300, 81%, 59%)
CMYKcmyk(0%, 80.8%, 0.7%, 40.8%)
CIE-LABlab(37.23, 61.41, -37.97)
CIE-LCHlch(37.23, 72.20, 328.27°)
OKLaboklab(48.57% 0.172 -0.1053)
OKLCHoklch(48.57% 0.202 328.5)
XYZxyz(18.7067, 9.6615, 29.7278)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D96 #1D971E
analogous
#5B1D97 #971D96 #971D59
triadic
#971D96 #96971D #1D9697
tetradic
#971D96 #975B1D #1D971E #1D5997
square
#971D96 #975B1D #1D971E #1D5997
split-complementary
#971D96 #59971D #1D975B
monochromatic
#300930 #641363 #971D96 #CA27C9 #DE51DC

Accessibility & contrast

On white

7.16
#971D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#971D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D96
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D96#FFFFFF#000000##FFFFFF
##971D961.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#425D93
Tritanopia (blue-blind)
#9C325A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #971d96;
/* rgb */ color: rgb(151, 29, 150);
/* oklch */ color: oklch(48.6% 0.202 328.5);
Tailwind
colors: {
  custom: {
    50: '#b96ab5',
    500: '#971d96',
    950: '#000000',
  },
}
SCSS
$custom: #971d96;
$custom-light: #b96ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#971d96",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 300.492,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48572,
    "c": 0.20164,
    "h": 328.5
  },
  "luminance": 0.0966
}

Semantic roles & 50–950 ramp

primary
#971D96
secondary
#4FC050
accent
#EB3F3D
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971D96

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

Preview Lab → · Contrast checker → · Palette generator →

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