#97218E#97218E

#97218E is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.192 H 331.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#97218E
RGBrgb(151, 33, 142)
HSLhsl(305, 64%, 36%)
HSVhsv(305, 78%, 59%)
CMYKcmyk(0%, 78.1%, 6%, 40.8%)
CIE-LABlab(37.15, 59.02, -33.20)
CIE-LCHlch(37.15, 67.72, 330.64°)
OKLaboklab(48.37% 0.1689 -0.0915)
OKLCHoklch(48.37% 0.192 331.6)
XYZxyz(18.1889, 9.6215, 26.4851)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#97218E #21972A
analogous
#652197 #97218E #972153
triadic
#97218E #8E9721 #218E97
tetradic
#97218E #976521 #21972A #215397
square
#97218E #976521 #21972A #215397
split-complementary
#97218E #539721 #219765
monochromatic
#330B30 #65165F #97218E #C92CBD #DA58D1

Accessibility & contrast

On white

7.18
#97218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#97218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #97218E
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##97218E#FFFFFF#000000##FFFFFF
##97218E1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154D91
Deuteranopia (green-blind)
#485D8B
Tritanopia (blue-blind)
#9D3057
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #97218e;
/* rgb */ color: rgb(151, 33, 142);
/* oklch */ color: oklch(48.4% 0.192 331.6);
Tailwind
colors: {
  custom: {
    50: '#b96baf',
    500: '#97218e',
    950: '#000000',
  },
}
SCSS
$custom: #97218e;
$custom-light: #b96baf;
$custom-dark: #000000;
JSON
{
  "hex": "#97218e",
  "rgb": {
    "r": 151,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 304.576,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.48372,
    "c": 0.19205,
    "h": 331.6
  },
  "luminance": 0.0962
}

Semantic roles & 50–950 ramp

primary
#97218E
secondary
#55BE5D
accent
#E74D41
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #97218E

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

Preview Lab → · Contrast checker → · Palette generator →

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