#971B91#971B91

#971B91 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.200 H 330.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#971B91
RGBrgb(151, 27, 145)
HSLhsl(303, 70%, 35%)
HSVhsv(303, 82%, 59%)
CMYKcmyk(0%, 82.1%, 4%, 40.8%)
CIE-LABlab(36.76, 61.12, -35.66)
CIE-LCHlch(36.76, 70.77, 329.74°)
OKLaboklab(48.15% 0.1736 -0.0986)
OKLCHoklch(48.15% 0.2 330.4)
XYZxyz(18.2652, 9.4090, 27.6367)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B91 #1B9721
analogous
#5F1B97 #971B91 #971B53
triadic
#971B91 #91971B #1B9197
tetradic
#971B91 #975F1B #1B9721 #1B5397
square
#971B91 #975F1B #1B9721 #1B5397
split-complementary
#971B91 #53971B #1B975F
monochromatic
#2F082D #63125F #971B91 #CB24C3 #DF4DD8

Accessibility & contrast

On white

7.29
#971B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#971B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B91
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B91#FFFFFF#000000##FFFFFF
##971B911.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024C94
Deuteranopia (green-blind)
#445C8E
Tritanopia (blue-blind)
#9D2E57
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971b91;
/* rgb */ color: rgb(151, 27, 145);
/* oklch */ color: oklch(48.1% 0.200 330.4);
Tailwind
colors: {
  custom: {
    50: '#ba69b2',
    500: '#971b91',
    950: '#000000',
  },
}
SCSS
$custom: #971b91;
$custom-light: #ba69b2;
$custom-dark: #000000;
JSON
{
  "hex": "#971b91",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 145
  },
  "hsl": {
    "h": 302.903,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48146,
    "c": 0.19962,
    "h": 330.4
  },
  "luminance": 0.09408
}

Semantic roles & 50–950 ramp

primary
#971B91
secondary
#4CC152
accent
#EC443B
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #971B91

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

Preview Lab → · Contrast checker → · Palette generator →

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