#96218C#96218C

#96218C is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.190 H 332.0°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#96218C
RGBrgb(150, 33, 140)
HSLhsl(305, 64%, 36%)
HSVhsv(305, 78%, 59%)
CMYKcmyk(0%, 78%, 6.7%, 41.2%)
CIE-LABlab(36.87, 58.48, -32.44)
CIE-LCHlch(36.87, 66.88, 330.98°)
OKLaboklab(48.1% 0.1678 -0.0893)
OKLCHoklch(48.1% 0.19 332)
XYZxyz(17.8552, 9.4667, 25.6927)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96218C #21962B
analogous
#652196 #96218C #962151
triadic
#96218C #8C9621 #218C96
tetradic
#96218C #966521 #21962B #215196
square
#96218C #966521 #21962B #215196
split-complementary
#96218C #519621 #219665
monochromatic
#320B2E #64165D #96218C #C82CBB #DA57CF

Accessibility & contrast

On white

7.26
#96218C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96218C
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96218C#FFFFFF#000000##FFFFFF
##96218C1.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174C8F
Deuteranopia (green-blind)
#485C89
Tritanopia (blue-blind)
#9D2F55
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96218c;
/* rgb */ color: rgb(150, 33, 140);
/* oklch */ color: oklch(48.1% 0.190 332.0);
Tailwind
colors: {
  custom: {
    50: '#b96bae',
    500: '#96218c',
    950: '#000000',
  },
}
SCSS
$custom: #96218c;
$custom-light: #b96bae;
$custom-dark: #000000;
JSON
{
  "hex": "#96218c",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 140
  },
  "hsl": {
    "h": 305.128,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48098,
    "c": 0.19006,
    "h": 332
  },
  "luminance": 0.09465
}

Semantic roles & 50–950 ramp

primary
#96218C
secondary
#55BE5E
accent
#E74F41
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96218C

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

Preview Lab → · Contrast checker → · Palette generator →

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