#97288A#97288A

#97288A is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.182 H 333.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#97288A
RGBrgb(151, 40, 138)
HSLhsl(307, 58%, 37%)
HSVhsv(307, 74%, 59%)
CMYKcmyk(0%, 73.5%, 8.6%, 40.8%)
CIE-LABlab(37.72, 56.15, -29.85)
CIE-LCHlch(37.72, 63.59, 332.00°)
OKLaboklab(48.71% 0.1622 -0.0819)
OKLCHoklch(48.71% 0.182 333.2)
XYZxyz(18.1088, 9.9334, 25.0034)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97288A #289735
analogous
#6C2897 #97288A #972853
triadic
#97288A #8A9728 #288A97
tetradic
#97288A #976C28 #289735 #285397
square
#97288A #976C28 #289735 #285397
split-complementary
#97288A #539728 #28976C
monochromatic
#360E32 #671B5E #97288A #C735B6 #D664C8

Accessibility & contrast

On white

7.03
#97288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #97288A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97288A#FFFFFF#000000##FFFFFF
##97288A1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8D
Deuteranopia (green-blind)
#4D5E87
Tritanopia (blue-blind)
#9E3356
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97288a;
/* rgb */ color: rgb(151, 40, 138);
/* oklch */ color: oklch(48.7% 0.182 333.2);
Tailwind
colors: {
  custom: {
    50: '#b96dac',
    500: '#97288a',
    950: '#000000',
  },
}
SCSS
$custom: #97288a;
$custom-light: #b96dac;
$custom-dark: #000000;
JSON
{
  "hex": "#97288a",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 307.027,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4871,
    "c": 0.18165,
    "h": 333.2
  },
  "luminance": 0.09932
}

Semantic roles & 50–950 ramp

primary
#97288A
secondary
#5FBC6A
accent
#E15946
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97288A

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

Preview Lab → · Contrast checker → · Palette generator →

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