#96218D#96218D

#96218D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.191 H 331.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#96218D
RGBrgb(150, 33, 141)
HSLhsl(305, 64%, 36%)
HSVhsv(305, 78%, 59%)
CMYKcmyk(0%, 78%, 6%, 41.2%)
CIE-LABlab(36.92, 58.64, -32.97)
CIE-LCHlch(36.92, 67.27, 330.66°)
OKLaboklab(48.16% 0.1678 -0.0908)
OKLCHoklch(48.16% 0.191 331.6)
XYZxyz(17.9293, 9.4963, 26.0828)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96218D #21962A
analogous
#642196 #96218D #962152
triadic
#96218D #8D9621 #218D96
tetradic
#96218D #966421 #21962A #215296
square
#96218D #966421 #21962A #215296
split-complementary
#96218D #529621 #219664
monochromatic
#320B2F #64165E #96218D #C82CBC #DA57D0

Accessibility & contrast

On white

7.24
#96218D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#96218D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96218D
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96218D#FFFFFF#000000##FFFFFF
##96218D1.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)
#164D90
Deuteranopia (green-blind)
#485D8A
Tritanopia (blue-blind)
#9C3056
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96218d;
/* rgb */ color: rgb(150, 33, 141);
/* oklch */ color: oklch(48.2% 0.191 331.6);
Tailwind
colors: {
  custom: {
    50: '#b96baf',
    500: '#96218d',
    950: '#000000',
  },
}
SCSS
$custom: #96218d;
$custom-light: #b96baf;
$custom-dark: #000000;
JSON
{
  "hex": "#96218d",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 141
  },
  "hsl": {
    "h": 304.615,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48156,
    "c": 0.19081,
    "h": 331.6
  },
  "luminance": 0.09495
}

Semantic roles & 50–950 ramp

primary
#96218D
secondary
#55BE5D
accent
#E74E41
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96218D

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

Preview Lab → · Contrast checker → · Palette generator →

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