#971B88#971B88

#971B88 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.193 H 333.9°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#971B88
RGBrgb(151, 27, 136)
HSLhsl(307, 70%, 35%)
HSVhsv(307, 82%, 59%)
CMYKcmyk(0%, 82.1%, 9.9%, 40.8%)
CIE-LABlab(36.26, 59.74, -30.93)
CIE-LCHlch(36.26, 67.27, 332.63°)
OKLaboklab(47.63% 0.1735 -0.0849)
OKLCHoklch(47.63% 0.193 333.9)
XYZxyz(17.5985, 9.1423, 24.1256)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B88 #1B972A
analogous
#681B97 #971B88 #971B4A
triadic
#971B88 #88971B #1B8897
tetradic
#971B88 #97681B #1B972A #1B4A97
square
#971B88 #97681B #1B972A #1B4A97
split-complementary
#971B88 #4A971B #1B9768
monochromatic
#2F082A #631259 #971B88 #CB24B7 #DF4DCE

Accessibility & contrast

On white

7.43
#971B88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#971B88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B88
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B88#FFFFFF#000000##FFFFFF
##971B881.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164A8B
Deuteranopia (green-blind)
#495B85
Tritanopia (blue-blind)
#9E2952
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971b88;
/* rgb */ color: rgb(151, 27, 136);
/* oklch */ color: oklch(47.6% 0.193 333.9);
Tailwind
colors: {
  custom: {
    50: '#b968ab',
    500: '#971b88',
    950: '#000000',
  },
}
SCSS
$custom: #971b88;
$custom-light: #b968ab;
$custom-dark: #000000;
JSON
{
  "hex": "#971b88",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 136
  },
  "hsl": {
    "h": 307.258,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47625,
    "c": 0.19315,
    "h": 333.9
  },
  "luminance": 0.09141
}

Semantic roles & 50–950 ramp

primary
#971B88
secondary
#4CC15B
accent
#EC513B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971B88

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

Preview Lab → · Contrast checker → · Palette generator →

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