#972587#972587

#972587 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.183 H 334.5°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#972587
RGBrgb(151, 37, 135)
HSLhsl(308, 61%, 37%)
HSVhsv(308, 75%, 59%)
CMYKcmyk(0%, 75.5%, 10.6%, 40.8%)
CIE-LABlab(37.21, 56.68, -28.80)
CIE-LCHlch(37.21, 63.58, 333.06°)
OKLaboklab(48.29% 0.1649 -0.0788)
OKLCHoklch(48.29% 0.183 334.5)
XYZxyz(17.7974, 9.6533, 23.8429)
Luminance0.0965 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972587 #259735
analogous
#6E2597 #972587 #97254E
triadic
#972587 #879725 #258797
tetradic
#972587 #976E25 #259735 #254E97
square
#972587 #976E25 #259735 #254E97
split-complementary
#972587 #4E9725 #25976E
monochromatic
#350D2F #66195B #972587 #C831B3 #D85FC7

Accessibility & contrast

On white

7.17
#972587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#972587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972587
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972587#FFFFFF#000000##FFFFFF
##9725871.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8A
Deuteranopia (green-blind)
#4D5D84
Tritanopia (blue-blind)
#9E2F54
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #972587;
/* rgb */ color: rgb(151, 37, 135);
/* oklch */ color: oklch(48.3% 0.183 334.5);
Tailwind
colors: {
  custom: {
    50: '#b96caa',
    500: '#972587',
    950: '#000000',
  },
}
SCSS
$custom: #972587;
$custom-light: #b96caa;
$custom-dark: #000000;
JSON
{
  "hex": "#972587",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 308.421,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48293,
    "c": 0.18278,
    "h": 334.5
  },
  "luminance": 0.09652
}

Semantic roles & 50–950 ramp

primary
#972587
secondary
#5BBD69
accent
#E45A44
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972587

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

Preview Lab → · Contrast checker → · Palette generator →

#972587 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva