#96218E#96218E

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

Color values

HEX#96218E
RGBrgb(150, 33, 142)
HSLhsl(304, 64%, 36%)
HSVhsv(304, 78%, 59%)
CMYKcmyk(0%, 78%, 5.3%, 41.2%)
CIE-LABlab(36.98, 58.80, -33.49)
CIE-LCHlch(36.98, 67.67, 330.33°)
OKLaboklab(48.21% 0.1678 -0.0923)
OKLCHoklch(48.21% 0.192 331.2)
XYZxyz(18.0040, 9.5262, 26.4764)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96218E #219629
analogous
#632196 #96218E #962153
triadic
#96218E #8E9621 #218E96
tetradic
#96218E #966321 #219629 #215396
square
#96218E #966321 #219629 #215396
split-complementary
#96218E #539621 #219663
monochromatic
#320B2F #64165F #96218E #C82CBD #DA57D1

Accessibility & contrast

On white

7.23
#96218E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#96218E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96218E
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96218E#FFFFFF#000000##FFFFFF
##96218E1.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144D91
Deuteranopia (green-blind)
#475D8B
Tritanopia (blue-blind)
#9C3156
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96218e;
/* rgb */ color: rgb(150, 33, 142);
/* oklch */ color: oklch(48.2% 0.192 331.2);
Tailwind
colors: {
  custom: {
    50: '#b96baf',
    500: '#96218e',
    950: '#000000',
  },
}
SCSS
$custom: #96218e;
$custom-light: #b96baf;
$custom-dark: #000000;
JSON
{
  "hex": "#96218e",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 142
  },
  "hsl": {
    "h": 304.103,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48213,
    "c": 0.19154,
    "h": 331.2
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#96218E
secondary
#55BE5C
accent
#E74C41
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96218E

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

Preview Lab → · Contrast checker → · Palette generator →

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