#97219E#97219E

#97219E is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.204 H 325.6°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#97219E
RGBrgb(151, 33, 158)
HSLhsl(297, 65%, 37%)
HSVhsv(297, 79%, 62%)
CMYKcmyk(4.4%, 79.1%, 0%, 38%)
CIE-LABlab(38.09, 61.65, -41.46)
CIE-LCHlch(38.09, 74.29, 326.08°)
OKLaboklab(49.34% 0.1685 -0.1155)
OKLCHoklch(49.34% 0.204 325.6)
XYZxyz(19.4775, 10.1370, 33.2719)
Luminance0.1014 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97219E #289E21
analogous
#59219E #97219E #9E2167
triadic
#97219E #9E9721 #219E97
tetradic
#97219E #9E5921 #289E21 #21679E
square
#97219E #9E5921 #289E21 #21679E
split-complementary
#97219E #679E21 #219E59
monochromatic
#360C39 #67166B #97219E #C72CD1 #D65CDD

Accessibility & contrast

On white

6.94
#97219E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#97219E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97219E
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97219E#FFFFFF#000000##FFFFFF
##97219E1.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A1
Deuteranopia (green-blind)
#3E5E9B
Tritanopia (blue-blind)
#9B3960
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #97219e;
/* rgb */ color: rgb(151, 33, 158);
/* oklch */ color: oklch(49.3% 0.204 325.6);
Tailwind
colors: {
  custom: {
    50: '#b96bbb',
    500: '#97219e',
    950: '#000000',
  },
}
SCSS
$custom: #97219e;
$custom-light: #b96bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#97219e",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 158
  },
  "hsl": {
    "h": 296.64,
    "s": 65.445,
    "l": 37.451
  },
  "oklch": {
    "l": 0.49337,
    "c": 0.20425,
    "h": 325.6
  },
  "luminance": 0.10136
}

Semantic roles & 50–950 ramp

primary
#97219E
secondary
#5FC159
accent
#E83F49
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120812
muted
#817A81

Preview Lab

Preview with #97219E

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

Preview Lab → · Contrast checker → · Palette generator →

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