#96218F#96218F

#96218F is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.192 H 330.8°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#96218F
RGBrgb(150, 33, 143)
HSLhsl(304, 64%, 36%)
HSVhsv(304, 78%, 59%)
CMYKcmyk(0%, 78%, 4.7%, 41.2%)
CIE-LABlab(37.03, 58.96, -34.02)
CIE-LCHlch(37.03, 68.07, 330.02°)
OKLaboklab(48.27% 0.1678 -0.0939)
OKLCHoklch(48.27% 0.192 330.8)
XYZxyz(18.0794, 9.5564, 26.8736)
Luminance0.0955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96218F #219628
analogous
#622196 #96218F #962154
triadic
#96218F #8F9621 #218F96
tetradic
#96218F #966221 #219628 #215496
square
#96218F #966221 #219628 #215496
split-complementary
#96218F #549621 #219662
monochromatic
#320B2F #64165F #96218F #C82CBF #DA57D2

Accessibility & contrast

On white

7.21
#96218F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96218F
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96218F#FFFFFF#000000##FFFFFF
##96218F1.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124D92
Deuteranopia (green-blind)
#475D8C
Tritanopia (blue-blind)
#9C3157
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #96218f;
/* rgb */ color: rgb(150, 33, 143);
/* oklch */ color: oklch(48.3% 0.192 330.8);
Tailwind
colors: {
  custom: {
    50: '#b96bb0',
    500: '#96218f',
    950: '#000000',
  },
}
SCSS
$custom: #96218f;
$custom-light: #b96bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#96218f",
  "rgb": {
    "r": 150,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 303.59,
    "s": 63.934,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48271,
    "c": 0.1923,
    "h": 330.8
  },
  "luminance": 0.09555
}

Semantic roles & 50–950 ramp

primary
#96218F
secondary
#55BE5B
accent
#E74B41
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #96218F

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

Preview Lab → · Contrast checker → · Palette generator →

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