#972387#972387

#972387 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.185 H 334.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#972387
RGBrgb(151, 35, 135)
HSLhsl(308, 62%, 36%)
HSVhsv(308, 77%, 59%)
CMYKcmyk(0%, 76.8%, 10.6%, 40.8%)
CIE-LABlab(36.99, 57.32, -29.15)
CIE-LCHlch(36.99, 64.31, 333.04°)
OKLaboklab(48.13% 0.1668 -0.0798)
OKLCHoklch(48.13% 0.185 334.4)
XYZxyz(17.7369, 9.5322, 23.8227)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972387 #239733
analogous
#6D2397 #972387 #97234D
triadic
#972387 #879723 #238797
tetradic
#972387 #976D23 #239733 #234D97
square
#972387 #976D23 #239733 #234D97
split-complementary
#972387 #4D9723 #23976D
monochromatic
#340C2E #65175B #972387 #C92FB3 #D95BC8

Accessibility & contrast

On white

7.23
#972387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#972387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972387
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972387#FFFFFF#000000##FFFFFF
##9723871.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C8A
Deuteranopia (green-blind)
#4C5D84
Tritanopia (blue-blind)
#9E2E53
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972387;
/* rgb */ color: rgb(151, 35, 135);
/* oklch */ color: oklch(48.1% 0.185 334.4);
Tailwind
colors: {
  custom: {
    50: '#b96baa',
    500: '#972387',
    950: '#000000',
  },
}
SCSS
$custom: #972387;
$custom-light: #b96baa;
$custom-dark: #000000;
JSON
{
  "hex": "#972387",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 308.276,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48132,
    "c": 0.18491,
    "h": 334.4
  },
  "luminance": 0.09531
}

Semantic roles & 50–950 ramp

primary
#972387
secondary
#58BE66
accent
#E55942
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972387

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

Preview Lab → · Contrast checker → · Palette generator →

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