#97288E#97288E

#97288E is a mid, vivid purple. Relative luminance 0.101; OKLCH L 48.9% C 0.185 H 331.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#97288E
RGBrgb(151, 40, 142)
HSLhsl(305, 58%, 37%)
HSVhsv(305, 74%, 59%)
CMYKcmyk(0%, 73.5%, 6%, 40.8%)
CIE-LABlab(37.93, 56.79, -31.97)
CIE-LCHlch(37.93, 65.17, 330.62°)
OKLaboklab(48.93% 0.1624 -0.088)
OKLCHoklch(48.93% 0.185 331.6)
XYZxyz(18.4038, 10.0514, 26.5568)
Luminance0.1005 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97288E #289731
analogous
#692897 #97288E #972856
triadic
#97288E #8E9728 #288E97
tetradic
#97288E #976928 #289731 #285697
square
#97288E #976928 #289731 #285697
split-complementary
#97288E #569728 #289769
monochromatic
#360E33 #671B61 #97288E #C735BB #D664CD

Accessibility & contrast

On white

6.98
#97288E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#97288E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97288E
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97288E#FFFFFF#000000##FFFFFF
##97288E1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#4B5F8B
Tritanopia (blue-blind)
#9D3558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97288e;
/* rgb */ color: rgb(151, 40, 142);
/* oklch */ color: oklch(48.9% 0.185 331.6);
Tailwind
colors: {
  custom: {
    50: '#b96daf',
    500: '#97288e',
    950: '#000000',
  },
}
SCSS
$custom: #97288e;
$custom-light: #b96daf;
$custom-dark: #000000;
JSON
{
  "hex": "#97288e",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 304.865,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48932,
    "c": 0.18469,
    "h": 331.6
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#97288E
secondary
#5FBC67
accent
#E15346
background
#FBF7FA
surface
#F7EDF4
border
#D0C8CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #97288E

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

Preview Lab → · Contrast checker → · Palette generator →

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