#97288B#97288B

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

Color values

HEX#97288B
RGBrgb(151, 40, 139)
HSLhsl(306, 58%, 37%)
HSVhsv(306, 74%, 59%)
CMYKcmyk(0%, 73.5%, 7.9%, 40.8%)
CIE-LABlab(37.77, 56.31, -30.38)
CIE-LCHlch(37.77, 63.98, 331.65°)
OKLaboklab(48.77% 0.1622 -0.0834)
OKLCHoklch(48.77% 0.182 332.8)
XYZxyz(18.1816, 9.9625, 25.3865)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97288B #289734
analogous
#6B2897 #97288B #972854
triadic
#97288B #8B9728 #288B97
tetradic
#97288B #976B28 #289734 #285497
square
#97288B #976B28 #289734 #285497
split-complementary
#97288B #549728 #28976B
monochromatic
#360E32 #671B5E #97288B #C735B8 #D664C9

Accessibility & contrast

On white

7.02
#97288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#97288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97288B
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97288B#FFFFFF#000000##FFFFFF
##97288B1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#4C5F88
Tritanopia (blue-blind)
#9E3357
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97288b;
/* rgb */ color: rgb(151, 40, 139);
/* oklch */ color: oklch(48.8% 0.182 332.8);
Tailwind
colors: {
  custom: {
    50: '#b96dad',
    500: '#97288b',
    950: '#000000',
  },
}
SCSS
$custom: #97288b;
$custom-light: #b96dad;
$custom-dark: #000000;
JSON
{
  "hex": "#97288b",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 306.486,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.18241,
    "h": 332.8
  },
  "luminance": 0.09961
}

Semantic roles & 50–950 ramp

primary
#97288B
secondary
#5FBC69
accent
#E15746
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97288B

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

Preview Lab → · Contrast checker → · Palette generator →

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