#97219B#97219B

#97219B is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.1% C 0.202 H 326.6°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#97219B
RGBrgb(151, 33, 155)
HSLhsl(298, 65%, 37%)
HSVhsv(298, 79%, 61%)
CMYKcmyk(2.6%, 78.7%, 0%, 39.2%)
CIE-LABlab(37.91, 61.14, -39.93)
CIE-LCHlch(37.91, 73.03, 326.85°)
OKLaboklab(49.15% 0.1686 -0.111)
OKLCHoklch(49.15% 0.202 326.6)
XYZxyz(19.2224, 10.0349, 31.9285)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97219B #259B21
analogous
#5A219B #97219B #9B2162
triadic
#97219B #9B9721 #219B97
tetradic
#97219B #9B5A21 #259B21 #21629B
square
#97219B #9B5A21 #259B21 #21629B
split-complementary
#97219B #629B21 #219B5A
monochromatic
#350C36 #661669 #97219B #C82CCD #D85ADC

Accessibility & contrast

On white

6.98
#97219B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #97219B
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97219B#FFFFFF#000000##FFFFFF
##97219B1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509E
Deuteranopia (green-blind)
#405E98
Tritanopia (blue-blind)
#9B375E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #97219b;
/* rgb */ color: rgb(151, 33, 155);
/* oklch */ color: oklch(49.1% 0.202 326.6);
Tailwind
colors: {
  custom: {
    50: '#b96bb9',
    500: '#97219b',
    950: '#000000',
  },
}
SCSS
$custom: #97219b;
$custom-light: #b96bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#97219b",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 155
  },
  "hsl": {
    "h": 298.033,
    "s": 64.894,
    "l": 36.863
  },
  "oklch": {
    "l": 0.49149,
    "c": 0.20191,
    "h": 326.6
  },
  "luminance": 0.10034
}

Semantic roles & 50–950 ramp

primary
#97219B
secondary
#5BC058
accent
#E84045
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #97219B

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

Preview Lab → · Contrast checker → · Palette generator →

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