#971D89#971D89

#971D89 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.192 H 333.5°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#971D89
RGBrgb(151, 29, 137)
HSLhsl(307, 68%, 35%)
HSVhsv(307, 81%, 59%)
CMYKcmyk(0%, 80.8%, 9.3%, 40.8%)
CIE-LABlab(36.49, 59.37, -31.17)
CIE-LCHlch(36.49, 67.05, 332.30°)
OKLaboklab(47.81% 0.172 -0.0856)
OKLCHoklch(47.81% 0.192 333.5)
XYZxyz(17.7174, 9.2658, 24.5174)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D89 #1D972B
analogous
#681D97 #971D89 #971D4C
triadic
#971D89 #89971D #1D8997
tetradic
#971D89 #97681D #1D972B #1D4C97
square
#971D89 #97681D #1D972B #1D4C97
split-complementary
#971D89 #4C971D #1D9768
monochromatic
#30092C #64135A #971D89 #CA27B8 #DE51CD

Accessibility & contrast

On white

7.36
#971D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#971D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971D89
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D89#FFFFFF#000000##FFFFFF
##971D891.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174B8C
Deuteranopia (green-blind)
#495C86
Tritanopia (blue-blind)
#9E2B53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #971d89;
/* rgb */ color: rgb(151, 29, 137);
/* oklch */ color: oklch(47.8% 0.192 333.5);
Tailwind
colors: {
  custom: {
    50: '#b969ac',
    500: '#971d89',
    950: '#000000',
  },
}
SCSS
$custom: #971d89;
$custom-light: #b969ac;
$custom-dark: #000000;
JSON
{
  "hex": "#971d89",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 306.885,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.4781,
    "c": 0.19213,
    "h": 333.5
  },
  "luminance": 0.09264
}

Semantic roles & 50–950 ramp

primary
#971D89
secondary
#4FC05C
accent
#EB513D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971D89

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

Preview Lab → · Contrast checker → · Palette generator →

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