#972388#972388

#972388 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.186 H 334.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#972388
RGBrgb(151, 35, 136)
HSLhsl(308, 62%, 36%)
HSVhsv(308, 77%, 59%)
CMYKcmyk(0%, 76.8%, 9.9%, 40.8%)
CIE-LABlab(37.04, 57.48, -29.69)
CIE-LCHlch(37.04, 64.69, 332.68°)
OKLaboklab(48.19% 0.1669 -0.0814)
OKLCHoklch(48.19% 0.186 334)
XYZxyz(17.8076, 9.5605, 24.1953)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972388 #239732
analogous
#6C2397 #972388 #97234E
triadic
#972388 #889723 #238897
tetradic
#972388 #976C23 #239732 #234E97
square
#972388 #976C23 #239732 #234E97
split-complementary
#972388 #4E9723 #23976C
monochromatic
#340C2F #65175B #972388 #C92FB5 #D95BC9

Accessibility & contrast

On white

7.21
#972388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #972388
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972388#FFFFFF#000000##FFFFFF
##9723881.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8B
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#9E2E54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972388;
/* rgb */ color: rgb(151, 35, 136);
/* oklch */ color: oklch(48.2% 0.186 334.0);
Tailwind
colors: {
  custom: {
    50: '#b96bab',
    500: '#972388',
    950: '#000000',
  },
}
SCSS
$custom: #972388;
$custom-light: #b96bab;
$custom-dark: #000000;
JSON
{
  "hex": "#972388",
  "rgb": {
    "r": 151,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 307.759,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48187,
    "c": 0.18564,
    "h": 334
  },
  "luminance": 0.09559
}

Semantic roles & 50–950 ramp

primary
#972388
secondary
#58BE65
accent
#E55742
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972388

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

Preview Lab → · Contrast checker → · Palette generator →

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