#97288F#97288F

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

Color values

HEX#97288F
RGBrgb(151, 40, 143)
HSLhsl(304, 58%, 37%)
HSVhsv(304, 74%, 59%)
CMYKcmyk(0%, 73.5%, 5.3%, 40.8%)
CIE-LABlab(37.99, 56.95, -32.50)
CIE-LCHlch(37.99, 65.57, 330.29°)
OKLaboklab(48.99% 0.1624 -0.0895)
OKLCHoklch(48.99% 0.185 331.1)
XYZxyz(18.4792, 10.0815, 26.9539)
Luminance0.1008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97288F #289730
analogous
#672897 #97288F #972858
triadic
#97288F #8F9728 #288F97
tetradic
#97288F #976728 #289730 #285897
square
#97288F #976728 #289730 #285897
split-complementary
#97288F #589728 #289767
monochromatic
#360E33 #671B61 #97288F #C735BD #D664CE

Accessibility & contrast

On white

6.96
#97288F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#97288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97288F
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97288F#FFFFFF#000000##FFFFFF
##97288F1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5092
Deuteranopia (green-blind)
#4A5F8C
Tritanopia (blue-blind)
#9D3559
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97288f;
/* rgb */ color: rgb(151, 40, 143);
/* oklch */ color: oklch(49.0% 0.185 331.1);
Tailwind
colors: {
  custom: {
    50: '#b96eb0',
    500: '#97288f',
    950: '#000000',
  },
}
SCSS
$custom: #97288f;
$custom-light: #b96eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#97288f",
  "rgb": {
    "r": 151,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 304.324,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.48988,
    "c": 0.18546,
    "h": 331.1
  },
  "luminance": 0.1008
}

Semantic roles & 50–950 ramp

primary
#97288F
secondary
#5FBC66
accent
#E15246
background
#FBF7FA
surface
#F7EDF5
border
#D0C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #97288F

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

Preview Lab → · Contrast checker → · Palette generator →

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