#971B85#971B85

#971B85 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.191 H 335.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#971B85
RGBrgb(151, 27, 133)
HSLhsl(309, 70%, 35%)
HSVhsv(309, 82%, 59%)
CMYKcmyk(0%, 82.1%, 11.9%, 40.8%)
CIE-LABlab(36.10, 59.29, -29.32)
CIE-LCHlch(36.10, 66.14, 333.68°)
OKLaboklab(47.46% 0.1734 -0.0802)
OKLCHoklch(47.46% 0.191 335.2)
XYZxyz(17.3883, 9.0582, 23.0184)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971B85 #1B972D
analogous
#6B1B97 #971B85 #971B47
triadic
#971B85 #85971B #1B8597
tetradic
#971B85 #976B1B #1B972D #1B4797
square
#971B85 #976B1B #1B972D #1B4797
split-complementary
#971B85 #47971B #1B976B
monochromatic
#2F082A #631257 #971B85 #CB24B3 #DF4DCA

Accessibility & contrast

On white

7.47
#971B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971B85
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971B85#FFFFFF#000000##FFFFFF
##971B851.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4988
Deuteranopia (green-blind)
#4B5B82
Tritanopia (blue-blind)
#9F2750
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971b85;
/* rgb */ color: rgb(151, 27, 133);
/* oklch */ color: oklch(47.5% 0.191 335.2);
Tailwind
colors: {
  custom: {
    50: '#b968a9',
    500: '#971b85',
    950: '#000000',
  },
}
SCSS
$custom: #971b85;
$custom-light: #b968a9;
$custom-dark: #000000;
JSON
{
  "hex": "#971b85",
  "rgb": {
    "r": 151,
    "g": 27,
    "b": 133
  },
  "hsl": {
    "h": 308.71,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47458,
    "c": 0.19105,
    "h": 335.2
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#971B85
secondary
#4CC15D
accent
#EC553B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971B85

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

Preview Lab → · Contrast checker → · Palette generator →

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