#97219C#97219C

#97219C is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.2% C 0.203 H 326.3°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#97219C
RGBrgb(151, 33, 156)
HSLhsl(298, 65%, 37%)
HSVhsv(298, 79%, 61%)
CMYKcmyk(3.2%, 78.8%, 0%, 38.8%)
CIE-LABlab(37.97, 61.31, -40.44)
CIE-LCHlch(37.97, 73.45, 326.59°)
OKLaboklab(49.21% 0.1686 -0.1125)
OKLCHoklch(49.21% 0.203 326.3)
XYZxyz(19.3067, 10.0687, 32.3726)
Luminance0.1007 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97219C #269C21
analogous
#5A219C #97219C #9C2164
triadic
#97219C #9C9721 #219C97
tetradic
#97219C #9C5A21 #269C21 #21649C
square
#97219C #9C5A21 #269C21 #21649C
split-complementary
#97219C #649C21 #219C5A
monochromatic
#350C37 #661669 #97219C #C82CCF #D75BDC

Accessibility & contrast

On white

6.97
#97219C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#97219C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #97219C
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97219C#FFFFFF#000000##FFFFFF
##97219C1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#405E99
Tritanopia (blue-blind)
#9B385E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97219c;
/* rgb */ color: rgb(151, 33, 156);
/* oklch */ color: oklch(49.2% 0.203 326.3);
Tailwind
colors: {
  custom: {
    50: '#b96bba',
    500: '#97219c',
    950: '#000000',
  },
}
SCSS
$custom: #97219c;
$custom-light: #b96bba;
$custom-dark: #000000;
JSON
{
  "hex": "#97219c",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 156
  },
  "hsl": {
    "h": 297.561,
    "s": 65.079,
    "l": 37.059
  },
  "oklch": {
    "l": 0.49211,
    "c": 0.20269,
    "h": 326.3
  },
  "luminance": 0.10067
}

Semantic roles & 50–950 ramp

primary
#97219C
secondary
#5CC158
accent
#E84047
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #97219C

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

Preview Lab → · Contrast checker → · Palette generator →

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