#96218B#96218B

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

Color values

HEX#96218B
RGBrgb(150, 33, 139)
HSLhsl(306, 64%, 36%)
HSVhsv(306, 78%, 59%)
CMYKcmyk(0%, 78%, 7.3%, 41.2%)
CIE-LABlab(36.81, 58.32, -31.91)
CIE-LCHlch(36.81, 66.48, 331.32°)
OKLaboklab(48.04% 0.1677 -0.0878)
OKLCHoklch(48.04% 0.189 332.4)
XYZxyz(17.7818, 9.4373, 25.3062)
Luminance0.0944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96218B #21962C
analogous
#662196 #96218B #962150
triadic
#96218B #8B9621 #218B96
tetradic
#96218B #966621 #21962C #215096
square
#96218B #966621 #21962C #215096
split-complementary
#96218B #509621 #219666
monochromatic
#320B2E #64165D #96218B #C82CB9 #DA57CE

Accessibility & contrast

On white

7.27
#96218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#96218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96218B
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96218B#FFFFFF#000000##FFFFFF
##96218B1.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194C8E
Deuteranopia (green-blind)
#495C88
Tritanopia (blue-blind)
#9D2F55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96218b;
/* rgb */ color: rgb(150, 33, 139);
/* oklch */ color: oklch(48.0% 0.189 332.4);
Tailwind
colors: {
  custom: {
    50: '#b96aad',
    500: '#96218b',
    950: '#000000',
  },
}
SCSS
$custom: #96218b;
$custom-light: #b96aad;
$custom-dark: #000000;
JSON
{
  "hex": "#96218b",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 305.641,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48041,
    "c": 0.18932,
    "h": 332.4
  },
  "luminance": 0.09436
}

Semantic roles & 50–950 ramp

primary
#96218B
secondary
#55BE5F
accent
#E75041
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96218B

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

Preview Lab → · Contrast checker → · Palette generator →

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