#972488#972488

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

Color values

HEX#972488
RGBrgb(151, 36, 136)
HSLhsl(308, 61%, 37%)
HSVhsv(308, 76%, 59%)
CMYKcmyk(0%, 76.2%, 9.9%, 40.8%)
CIE-LABlab(37.15, 57.16, -29.52)
CIE-LCHlch(37.15, 64.33, 332.69°)
OKLaboklab(48.27% 0.1659 -0.0809)
OKLCHoklch(48.27% 0.185 334)
XYZxyz(17.8375, 9.6202, 24.2052)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#972488 #249733
analogous
#6D2497 #972488 #97244F
triadic
#972488 #889724 #248897
tetradic
#972488 #976D24 #249733 #244F97
square
#972488 #976D24 #249733 #244F97
split-complementary
#972488 #4F9724 #24976D
monochromatic
#340C2F #66185B #972488 #C830B5 #D85DC8

Accessibility & contrast

On white

7.18
#972488 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#972488 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #972488
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##972488#FFFFFF#000000##FFFFFF
##9724881.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8B
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#9E2F54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #972488;
/* rgb */ color: rgb(151, 36, 136);
/* oklch */ color: oklch(48.3% 0.185 334.0);
Tailwind
colors: {
  custom: {
    50: '#b96cab',
    500: '#972488',
    950: '#000000',
  },
}
SCSS
$custom: #972488;
$custom-light: #b96cab;
$custom-dark: #000000;
JSON
{
  "hex": "#972488",
  "rgb": {
    "r": 151,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 307.826,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48266,
    "c": 0.18459,
    "h": 334
  },
  "luminance": 0.09619
}

Semantic roles & 50–950 ramp

primary
#972488
secondary
#5ABD67
accent
#E55843
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #972488

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

Preview Lab → · Contrast checker → · Palette generator →

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