#971B89#971B89

#971B89 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.194 H 333.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#971B89
RGBrgb(151, 27, 137)
HSLhsl(307, 70%, 35%)
HSVhsv(307, 82%, 59%)
CMYKcmyk(0%, 82.1%, 9.3%, 40.8%)
CIE-LABlab(36.31, 59.89, -31.46)
CIE-LCHlch(36.31, 67.65, 332.29°)
OKLaboklab(47.68% 0.1735 -0.0864)
OKLCHoklch(47.68% 0.194 333.5)
XYZxyz(17.6699, 9.1709, 24.5016)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B89 #1B9729
analogous
#671B97 #971B89 #971B4B
triadic
#971B89 #89971B #1B8997
tetradic
#971B89 #97671B #1B9729 #1B4B97
square
#971B89 #97671B #1B9729 #1B4B97
split-complementary
#971B89 #4B971B #1B9767
monochromatic
#2F082B #63125A #971B89 #CB24B8 #DF4DCF

Accessibility & contrast

On white

7.41
#971B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971B89
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B89#FFFFFF#000000##FFFFFF
##971B891.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8C
Deuteranopia (green-blind)
#495C86
Tritanopia (blue-blind)
#9E2A52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971b89;
/* rgb */ color: rgb(151, 27, 137);
/* oklch */ color: oklch(47.7% 0.194 333.5);
Tailwind
colors: {
  custom: {
    50: '#b968ac',
    500: '#971b89',
    950: '#000000',
  },
}
SCSS
$custom: #971b89;
$custom-light: #b968ac;
$custom-dark: #000000;
JSON
{
  "hex": "#971b89",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 137
  },
  "hsl": {
    "h": 306.774,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47681,
    "c": 0.19386,
    "h": 333.5
  },
  "luminance": 0.09169
}

Semantic roles & 50–950 ramp

primary
#971B89
secondary
#4CC15A
accent
#EC4F3B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971B89

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

Preview Lab → · Contrast checker → · Palette generator →

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