#96218A#96218A

#96218A is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.189 H 332.8°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#96218A
RGBrgb(150, 33, 138)
HSLhsl(306, 64%, 36%)
HSVhsv(306, 78%, 59%)
CMYKcmyk(0%, 78%, 8%, 41.2%)
CIE-LABlab(36.76, 58.17, -31.38)
CIE-LCHlch(36.76, 66.09, 331.66°)
OKLaboklab(47.99% 0.1677 -0.0862)
OKLCHoklch(47.99% 0.189 332.8)
XYZxyz(17.7091, 9.4082, 24.9231)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96218A #21962D
analogous
#672196 #96218A #96214F
triadic
#96218A #8A9621 #218A96
tetradic
#96218A #966721 #21962D #214F96
square
#96218A #966721 #21962D #214F96
split-complementary
#96218A #4F9621 #219667
monochromatic
#320B2E #64165C #96218A #C82CB8 #DA57CD

Accessibility & contrast

On white

7.29
#96218A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#96218A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96218A
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96218A#FFFFFF#000000##FFFFFF
##96218A1.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4C8D
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#9D2E54
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #96218a;
/* rgb */ color: rgb(150, 33, 138);
/* oklch */ color: oklch(48.0% 0.189 332.8);
Tailwind
colors: {
  custom: {
    50: '#b96aac',
    500: '#96218a',
    950: '#000000',
  },
}
SCSS
$custom: #96218a;
$custom-light: #b96aac;
$custom-dark: #000000;
JSON
{
  "hex": "#96218a",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 138
  },
  "hsl": {
    "h": 306.154,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47985,
    "c": 0.18858,
    "h": 332.8
  },
  "luminance": 0.09407
}

Semantic roles & 50–950 ramp

primary
#96218A
secondary
#55BE60
accent
#E75241
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96218A

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

Preview Lab → · Contrast checker → · Palette generator →

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