#971B84#971B84

#971B84 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.190 H 335.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#971B84
RGBrgb(151, 27, 132)
HSLhsl(309, 70%, 35%)
HSVhsv(309, 82%, 59%)
CMYKcmyk(0%, 82.1%, 12.6%, 40.8%)
CIE-LABlab(36.04, 59.14, -28.79)
CIE-LCHlch(36.04, 65.78, 334.05°)
OKLaboklab(47.4% 0.1733 -0.0787)
OKLCHoklch(47.4% 0.19 335.6)
XYZxyz(17.3196, 9.0307, 22.6563)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B84 #1B972E
analogous
#6C1B97 #971B84 #971B46
triadic
#971B84 #84971B #1B8497
tetradic
#971B84 #976C1B #1B972E #1B4697
square
#971B84 #976C1B #1B972E #1B4697
split-complementary
#971B84 #46971B #1B976C
monochromatic
#2F0829 #631257 #971B84 #CB24B1 #DF4DC9

Accessibility & contrast

On white

7.48
#971B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#971B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #971B84
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B84#FFFFFF#000000##FFFFFF
##971B841.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4987
Deuteranopia (green-blind)
#4B5B81
Tritanopia (blue-blind)
#9F274F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971b84;
/* rgb */ color: rgb(151, 27, 132);
/* oklch */ color: oklch(47.4% 0.190 335.6);
Tailwind
colors: {
  custom: {
    50: '#ba68a8',
    500: '#971b84',
    950: '#000000',
  },
}
SCSS
$custom: #971b84;
$custom-light: #ba68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#971b84",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 132
  },
  "hsl": {
    "h": 309.194,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47403,
    "c": 0.19036,
    "h": 335.6
  },
  "luminance": 0.09029
}

Semantic roles & 50–950 ramp

primary
#971B84
secondary
#4CC15E
accent
#EC563B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #971B84

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

Preview Lab → · Contrast checker → · Palette generator →

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