#971B96#971B96

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

Color values

HEX#971B96
RGBrgb(151, 27, 150)
HSLhsl(300, 70%, 35%)
HSVhsv(300, 82%, 59%)
CMYKcmyk(0%, 82.1%, 0.7%, 40.8%)
CIE-LABlab(37.05, 61.92, -38.25)
CIE-LCHlch(37.05, 72.78, 328.29°)
OKLaboklab(48.45% 0.1734 -0.1061)
OKLCHoklch(48.45% 0.203 328.5)
XYZxyz(18.6593, 9.5666, 29.7120)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B96 #1B971C
analogous
#5A1B97 #971B96 #971B58
triadic
#971B96 #96971B #1B9697
tetradic
#971B96 #975A1B #1B971C #1B5897
square
#971B96 #975A1B #1B971C #1B5897
split-complementary
#971B96 #58971B #1B975A
monochromatic
#2F082F #631262 #971B96 #CB24CA #DF4DDE

Accessibility & contrast

On white

7.21
#971B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#971B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B96
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B96#FFFFFF#000000##FFFFFF
##971B961.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #971b96;
/* rgb */ color: rgb(151, 27, 150);
/* oklch */ color: oklch(48.4% 0.203 328.5);
Tailwind
colors: {
  custom: {
    50: '#ba69b5',
    500: '#971b96',
    950: '#000000',
  },
}
SCSS
$custom: #971b96;
$custom-light: #ba69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#971b96",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 150
  },
  "hsl": {
    "h": 300.484,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48448,
    "c": 0.20329,
    "h": 328.5
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#971B96
secondary
#4CC14D
accent
#EC3D3B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971B96

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

Preview Lab → · Contrast checker → · Palette generator →

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