#96288D#96288D

#96288D is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.183 H 331.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#96288D
RGBrgb(150, 40, 141)
HSLhsl(305, 58%, 37%)
HSVhsv(305, 73%, 59%)
CMYKcmyk(0%, 73.3%, 6%, 41.2%)
CIE-LABlab(37.71, 56.39, -31.72)
CIE-LCHlch(37.71, 64.70, 330.64°)
OKLaboklab(48.72% 0.1613 -0.0873)
OKLCHoklch(48.72% 0.183 331.6)
XYZxyz(18.1442, 9.9262, 26.1545)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96288D #289631
analogous
#682896 #96288D #962856
triadic
#96288D #8D9628 #288D96
tetradic
#96288D #966828 #289631 #285696
square
#96288D #966828 #289631 #285696
split-complementary
#96288D #569628 #289668
monochromatic
#350E32 #661B60 #96288D #C635BA #D563CC

Accessibility & contrast

On white

7.04
#96288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#96288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96288D
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96288D#FFFFFF#000000##FFFFFF
##96288D1.007.042.997.04
#FFFFFF7.041.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204F90
Deuteranopia (green-blind)
#4B5E8A
Tritanopia (blue-blind)
#9C3558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #96288d;
/* rgb */ color: rgb(150, 40, 141);
/* oklch */ color: oklch(48.7% 0.183 331.6);
Tailwind
colors: {
  custom: {
    50: '#b86daf',
    500: '#96288d',
    950: '#000000',
  },
}
SCSS
$custom: #96288d;
$custom-light: #b86daf;
$custom-dark: #000000;
JSON
{
  "hex": "#96288d",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 304.909,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.4872,
    "c": 0.18337,
    "h": 331.6
  },
  "luminance": 0.09925
}

Semantic roles & 50–950 ramp

primary
#96288D
secondary
#5FBB66
accent
#E15347
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96288D

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

Preview Lab → · Contrast checker → · Palette generator →

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