#97288C#97288C

#97288C is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.183 H 332.4°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#97288C
RGBrgb(151, 40, 140)
HSLhsl(306, 58%, 37%)
HSVhsv(306, 74%, 59%)
CMYKcmyk(0%, 73.5%, 7.3%, 40.8%)
CIE-LABlab(37.83, 56.47, -30.91)
CIE-LCHlch(37.83, 64.37, 331.30°)
OKLaboklab(48.82% 0.1623 -0.0849)
OKLCHoklch(48.82% 0.183 332.4)
XYZxyz(18.2550, 9.9918, 25.7730)
Luminance0.0999 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97288C #289733
analogous
#6B2897 #97288C #972854
triadic
#97288C #8C9728 #288C97
tetradic
#97288C #976B28 #289733 #285497
square
#97288C #976B28 #289733 #285497
split-complementary
#97288C #549728 #28976B
monochromatic
#360E32 #671B5F #97288C #C735B9 #D664CB

Accessibility & contrast

On white

7.00
#97288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97288C
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97288C#FFFFFF#000000##FFFFFF
##97288C1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#4C5F89
Tritanopia (blue-blind)
#9E3457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97288c;
/* rgb */ color: rgb(151, 40, 140);
/* oklch */ color: oklch(48.8% 0.183 332.4);
Tailwind
colors: {
  custom: {
    50: '#b96dae',
    500: '#97288c',
    950: '#000000',
  },
}
SCSS
$custom: #97288c;
$custom-light: #b96dae;
$custom-dark: #000000;
JSON
{
  "hex": "#97288c",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 305.946,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4882,
    "c": 0.18317,
    "h": 332.4
  },
  "luminance": 0.0999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #97288C

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

Preview Lab → · Contrast checker → · Palette generator →

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