#97208B#97208B

#97208B is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.191 H 332.8°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#97208B
RGBrgb(151, 32, 139)
HSLhsl(306, 65%, 36%)
HSVhsv(306, 79%, 59%)
CMYKcmyk(0%, 78.8%, 7.9%, 40.8%)
CIE-LABlab(36.89, 58.84, -31.78)
CIE-LCHlch(36.89, 66.87, 331.63°)
OKLaboklab(48.13% 0.1696 -0.0874)
OKLCHoklch(48.13% 0.191 332.8)
XYZxyz(17.9393, 9.4780, 25.3057)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97208B #20972C
analogous
#672097 #97208B #972050
triadic
#97208B #8B9720 #208B97
tetradic
#97208B #976720 #20972C #205097
square
#97208B #976720 #20972C #205097
split-complementary
#97208B #509720 #209767
monochromatic
#320B2E #64155D #97208B #C92BB9 #DB56CE

Accessibility & contrast

On white

7.25
#97208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#97208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97208B
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97208B#FFFFFF#000000##FFFFFF
##97208B1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#495D88
Tritanopia (blue-blind)
#9E2E55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97208b;
/* rgb */ color: rgb(151, 32, 139);
/* oklch */ color: oklch(48.1% 0.191 332.8);
Tailwind
colors: {
  custom: {
    50: '#b96aad',
    500: '#97208b',
    950: '#000000',
  },
}
SCSS
$custom: #97208b;
$custom-light: #b96aad;
$custom-dark: #000000;
JSON
{
  "hex": "#97208b",
  "rgb": {
    "r": 151,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 306.05,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48129,
    "c": 0.1908,
    "h": 332.8
  },
  "luminance": 0.09476
}

Semantic roles & 50–950 ramp

primary
#97208B
secondary
#54BF5F
accent
#E85140
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #97208B

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

Preview Lab → · Contrast checker → · Palette generator →

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