#97208E#97208E

#97208E is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.193 H 331.6°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#97208E
RGBrgb(151, 32, 142)
HSLhsl(305, 65%, 36%)
HSVhsv(305, 79%, 59%)
CMYKcmyk(0%, 78.8%, 6%, 40.8%)
CIE-LABlab(37.05, 59.31, -33.36)
CIE-LCHlch(37.05, 68.05, 330.64°)
OKLaboklab(48.3% 0.1697 -0.0919)
OKLCHoklch(48.3% 0.193 331.6)
XYZxyz(18.1615, 9.5668, 26.4760)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97208E #209729
analogous
#642097 #97208E #972052
triadic
#97208E #8E9720 #208E97
tetradic
#97208E #976420 #209729 #205297
square
#97208E #976420 #209729 #205297
split-complementary
#97208E #529720 #209764
monochromatic
#320B2F #64155F #97208E #C92BBD #DB56D1

Accessibility & contrast

On white

7.21
#97208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#97208E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97208E
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97208E#FFFFFF#000000##FFFFFF
##97208E1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D91
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#9D3056
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97208e;
/* rgb */ color: rgb(151, 32, 142);
/* oklch */ color: oklch(48.3% 0.193 331.6);
Tailwind
colors: {
  custom: {
    50: '#b96aaf',
    500: '#97208e',
    950: '#000000',
  },
}
SCSS
$custom: #97208e;
$custom-light: #b96aaf;
$custom-dark: #000000;
JSON
{
  "hex": "#97208e",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 304.538,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.483,
    "c": 0.19301,
    "h": 331.6
  },
  "luminance": 0.09565
}

Semantic roles & 50–950 ramp

primary
#97208E
secondary
#54BF5C
accent
#E84D40
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #97208E

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

Preview Lab → · Contrast checker → · Palette generator →

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