#971C96#971C96

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

Color values

HEX#971C96
RGBrgb(151, 28, 150)
HSLhsl(300, 69%, 35%)
HSVhsv(300, 81%, 59%)
CMYKcmyk(0%, 81.5%, 0.7%, 40.8%)
CIE-LABlab(37.14, 61.67, -38.12)
CIE-LCHlch(37.14, 72.50, 328.28°)
OKLaboklab(48.51% 0.1727 -0.1057)
OKLCHoklch(48.51% 0.202 328.5)
XYZxyz(18.6826, 9.6133, 29.7198)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971C96 #1C971D
analogous
#5B1C97 #971C96 #971C58
triadic
#971C96 #96971C #1C9697
tetradic
#971C96 #975B1C #1C971D #1C5897
square
#971C96 #975B1C #1C971D #1C5897
split-complementary
#971C96 #58971C #1C975B
monochromatic
#30092F #631263 #971C96 #CB26C9 #DE4FDD

Accessibility & contrast

On white

7.19
#971C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#971C96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971C96
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971C96#FFFFFF#000000##FFFFFF
##971C961.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971c96;
/* rgb */ color: rgb(151, 28, 150);
/* oklch */ color: oklch(48.5% 0.202 328.5);
Tailwind
colors: {
  custom: {
    50: '#ba69b5',
    500: '#971c96',
    950: '#000000',
  },
}
SCSS
$custom: #971c96;
$custom-light: #ba69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#971c96",
  "rgb": {
    "r": 151,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 300.488,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48509,
    "c": 0.20248,
    "h": 328.5
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

primary
#971C96
secondary
#4EC14F
accent
#EC3E3C
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971C96

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

Preview Lab → · Contrast checker → · Palette generator →

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