#97208A#97208A

#97208A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.190 H 333.2°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#97208A
RGBrgb(151, 32, 138)
HSLhsl(307, 65%, 36%)
HSVhsv(307, 79%, 59%)
CMYKcmyk(0%, 78.8%, 8.6%, 40.8%)
CIE-LABlab(36.83, 58.69, -31.25)
CIE-LCHlch(36.83, 66.49, 331.97°)
OKLaboklab(48.07% 0.1696 -0.0858)
OKLCHoklch(48.07% 0.19 333.2)
XYZxyz(17.8666, 9.4489, 24.9227)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97208A #20972D
analogous
#682097 #97208A #97204E
triadic
#97208A #8A9720 #208A97
tetradic
#97208A #976820 #20972D #204E97
square
#97208A #976820 #20972D #204E97
split-complementary
#97208A #4E9720 #209768
monochromatic
#320B2E #64155C #97208A #C92BB8 #DB56CD

Accessibility & contrast

On white

7.27
#97208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#97208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97208A
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97208A#FFFFFF#000000##FFFFFF
##97208A1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8D
Deuteranopia (green-blind)
#4A5D87
Tritanopia (blue-blind)
#9E2D54
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97208a;
/* rgb */ color: rgb(151, 32, 138);
/* oklch */ color: oklch(48.1% 0.190 333.2);
Tailwind
colors: {
  custom: {
    50: '#b96aac',
    500: '#97208a',
    950: '#000000',
  },
}
SCSS
$custom: #97208a;
$custom-light: #b96aac;
$custom-dark: #000000;
JSON
{
  "hex": "#97208a",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 306.555,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48073,
    "c": 0.19008,
    "h": 333.2
  },
  "luminance": 0.09447
}

Semantic roles & 50–950 ramp

primary
#97208A
secondary
#54BF60
accent
#E85240
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #97208A

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

Preview Lab → · Contrast checker → · Palette generator →

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