#97288D#97288D

#97288D is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.184 H 332.0°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#97288D
RGBrgb(151, 40, 141)
HSLhsl(305, 58%, 37%)
HSVhsv(305, 74%, 59%)
CMYKcmyk(0%, 73.5%, 6.6%, 40.8%)
CIE-LABlab(37.88, 56.63, -31.44)
CIE-LCHlch(37.88, 64.77, 330.96°)
OKLaboklab(48.88% 0.1623 -0.0864)
OKLCHoklch(48.88% 0.184 332)
XYZxyz(18.3290, 10.0215, 26.1631)
Luminance0.1002 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97288D #289732
analogous
#692897 #97288D #972856
triadic
#97288D #8D9728 #288D97
tetradic
#97288D #976928 #289732 #285697
square
#97288D #976928 #289732 #285697
split-complementary
#97288D #569728 #289769
monochromatic
#360E33 #671B60 #97288D #C735BA #D664CC

Accessibility & contrast

On white

6.99
#97288D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#97288D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97288D
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97288D#FFFFFF#000000##FFFFFF
##97288D1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#4B5F8A
Tritanopia (blue-blind)
#9D3458
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97288d;
/* rgb */ color: rgb(151, 40, 141);
/* oklch */ color: oklch(48.9% 0.184 332.0);
Tailwind
colors: {
  custom: {
    50: '#b96daf',
    500: '#97288d',
    950: '#000000',
  },
}
SCSS
$custom: #97288d;
$custom-light: #b96daf;
$custom-dark: #000000;
JSON
{
  "hex": "#97288d",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 305.405,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48876,
    "c": 0.18392,
    "h": 332
  },
  "luminance": 0.1002
}

Semantic roles & 50–950 ramp

primary
#97288D
secondary
#5FBC68
accent
#E15446
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97288D

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

Preview Lab → · Contrast checker → · Palette generator →

#97288D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva