#97209C#97209C

#97209C is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.204 H 326.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#97209C
RGBrgb(151, 32, 156)
HSLhsl(298, 66%, 37%)
HSVhsv(298, 79%, 61%)
CMYKcmyk(3.2%, 79.5%, 0%, 38.8%)
CIE-LABlab(37.87, 61.59, -40.60)
CIE-LCHlch(37.87, 73.77, 326.61°)
OKLaboklab(49.14% 0.1694 -0.113)
OKLCHoklch(49.14% 0.204 326.3)
XYZxyz(19.2794, 10.0140, 32.3635)
Luminance0.1001 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97209C #259C20
analogous
#59209C #97209C #9C2063
triadic
#97209C #9C9720 #209C97
tetradic
#97209C #9C5920 #259C20 #20639C
square
#97209C #9C5920 #259C20 #20639C
split-complementary
#97209C #639C20 #209C59
monochromatic
#350B36 #661669 #97209C #C82ACF #D859DD

Accessibility & contrast

On white

6.99
#97209C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#97209C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97209C
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97209C#FFFFFF#000000##FFFFFF
##97209C1.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#3F5E99
Tritanopia (blue-blind)
#9B375E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97209c;
/* rgb */ color: rgb(151, 32, 156);
/* oklch */ color: oklch(49.1% 0.204 326.3);
Tailwind
colors: {
  custom: {
    50: '#b96bba',
    500: '#97209c',
    950: '#000000',
  },
}
SCSS
$custom: #97209c;
$custom-light: #b96bba;
$custom-dark: #000000;
JSON
{
  "hex": "#97209c",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 297.581,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49142,
    "c": 0.2036,
    "h": 326.3
  },
  "luminance": 0.10013
}

Semantic roles & 50–950 ramp

primary
#97209C
secondary
#5BC157
accent
#E93F46
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #97209C

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

Preview Lab → · Contrast checker → · Palette generator →

#97209C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva