#97218A#97218A

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

Color values

HEX#97218A
RGBrgb(151, 33, 138)
HSLhsl(307, 64%, 36%)
HSVhsv(307, 78%, 59%)
CMYKcmyk(0%, 78.1%, 8.6%, 40.8%)
CIE-LABlab(36.94, 58.39, -31.09)
CIE-LCHlch(36.94, 66.15, 331.97°)
OKLaboklab(48.15% 0.1687 -0.0854)
OKLCHoklch(48.15% 0.189 333.2)
XYZxyz(17.8939, 9.5035, 24.9318)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97218A #21972E
analogous
#692197 #97218A #97214F
triadic
#97218A #8A9721 #218A97
tetradic
#97218A #976921 #21972E #214F97
square
#97218A #976921 #21972E #214F97
split-complementary
#97218A #4F9721 #219769
monochromatic
#330B2E #65165C #97218A #C92CB8 #DA58CC

Accessibility & contrast

On white

7.24
#97218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#97218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97218A
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97218A#FFFFFF#000000##FFFFFF
##97218A1.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #97218a;
/* rgb */ color: rgb(151, 33, 138);
/* oklch */ color: oklch(48.1% 0.189 333.2);
Tailwind
colors: {
  custom: {
    50: '#b96bac',
    500: '#97218a',
    950: '#000000',
  },
}
SCSS
$custom: #97218a;
$custom-light: #b96bac;
$custom-dark: #000000;
JSON
{
  "hex": "#97218a",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 306.61,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48146,
    "c": 0.18911,
    "h": 333.2
  },
  "luminance": 0.09502
}

Semantic roles & 50–950 ramp

primary
#97218A
secondary
#55BE61
accent
#E75341
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #97218A

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

Preview Lab → · Contrast checker → · Palette generator →

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