#972588#972588

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

Color values

HEX#972588
RGBrgb(151, 37, 136)
HSLhsl(308, 61%, 37%)
HSVhsv(308, 75%, 59%)
CMYKcmyk(0%, 75.5%, 9.9%, 40.8%)
CIE-LABlab(37.26, 56.84, -29.34)
CIE-LCHlch(37.26, 63.96, 332.70°)
OKLaboklab(48.35% 0.165 -0.0804)
OKLCHoklch(48.35% 0.184 334)
XYZxyz(17.8682, 9.6816, 24.2154)
Luminance0.0968 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972588 #259734
analogous
#6D2597 #972588 #97254F
triadic
#972588 #889725 #258897
tetradic
#972588 #976D25 #259734 #254F97
square
#972588 #976D25 #259734 #254F97
split-complementary
#972588 #4F9725 #25976D
monochromatic
#350D2F #66195C #972588 #C831B4 #D85FC8

Accessibility & contrast

On white

7.15
#972588 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#972588 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972588
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972588#FFFFFF#000000##FFFFFF
##9725881.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224D8B
Deuteranopia (green-blind)
#4D5E85
Tritanopia (blue-blind)
#9E3054
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #972588;
/* rgb */ color: rgb(151, 37, 136);
/* oklch */ color: oklch(48.3% 0.184 334.0);
Tailwind
colors: {
  custom: {
    50: '#b96cab',
    500: '#972588',
    950: '#000000',
  },
}
SCSS
$custom: #972588;
$custom-light: #b96cab;
$custom-dark: #000000;
JSON
{
  "hex": "#972588",
  "rgb": {
    "r": 151,
    "g": 37,
    "b": 136
  },
  "hsl": {
    "h": 307.895,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48347,
    "c": 0.18351,
    "h": 334
  },
  "luminance": 0.0968
}

Semantic roles & 50–950 ramp

primary
#972588
secondary
#5BBD68
accent
#E45944
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #972588

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

Preview Lab → · Contrast checker → · Palette generator →

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