#971D85#971D85

#971D85 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.189 H 335.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#971D85
RGBrgb(151, 29, 133)
HSLhsl(309, 68%, 35%)
HSVhsv(309, 81%, 59%)
CMYKcmyk(0%, 80.8%, 11.9%, 40.8%)
CIE-LABlab(36.28, 58.77, -29.04)
CIE-LCHlch(36.28, 65.55, 333.71°)
OKLaboklab(47.59% 0.1718 -0.0794)
OKLCHoklch(47.59% 0.189 335.2)
XYZxyz(17.4358, 9.1531, 23.0342)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#971D85 #1D972F
analogous
#6C1D97 #971D85 #971D48
triadic
#971D85 #85971D #1D8597
tetradic
#971D85 #976C1D #1D972F #1D4897
square
#971D85 #976C1D #1D972F #1D4897
split-complementary
#971D85 #48971D #1D976C
monochromatic
#30092B #641358 #971D85 #CA27B2 #DE51C9

Accessibility & contrast

On white

7.42
#971D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #971D85
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##971D85#FFFFFF#000000##FFFFFF
##971D851.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A88
Deuteranopia (green-blind)
#4B5C82
Tritanopia (blue-blind)
#9F2950
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #971d85;
/* rgb */ color: rgb(151, 29, 133);
/* oklch */ color: oklch(47.6% 0.189 335.2);
Tailwind
colors: {
  custom: {
    50: '#b969a9',
    500: '#971d85',
    950: '#000000',
  },
}
SCSS
$custom: #971d85;
$custom-light: #b969a9;
$custom-dark: #000000;
JSON
{
  "hex": "#971d85",
  "rgb": {
    "r": 151,
    "g": 29,
    "b": 133
  },
  "hsl": {
    "h": 308.852,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47588,
    "c": 0.1893,
    "h": 335.2
  },
  "luminance": 0.09151
}

Semantic roles & 50–950 ramp

primary
#971D85
secondary
#4FC060
accent
#EB573D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #971D85

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

Preview Lab → · Contrast checker → · Palette generator →

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