#96288E#96288E

#96288E is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.8% C 0.184 H 331.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#96288E
RGBrgb(150, 40, 142)
HSLhsl(304, 58%, 37%)
HSVhsv(304, 73%, 59%)
CMYKcmyk(0%, 73.3%, 5.3%, 41.2%)
CIE-LABlab(37.76, 56.55, -32.25)
CIE-LCHlch(37.76, 65.10, 330.31°)
OKLaboklab(48.78% 0.1613 -0.0888)
OKLCHoklch(48.78% 0.184 331.2)
XYZxyz(18.2189, 9.9561, 26.5481)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96288E #289630
analogous
#672896 #96288E #962857
triadic
#96288E #8E9628 #288E96
tetradic
#96288E #966728 #289630 #285796
square
#96288E #966728 #289630 #285796
split-complementary
#96288E #579628 #289667
monochromatic
#350E33 #661B60 #96288E #C635BC #D563CD

Accessibility & contrast

On white

7.02
#96288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96288E
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96288E#FFFFFF#000000##FFFFFF
##96288E1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4F91
Deuteranopia (green-blind)
#4A5E8B
Tritanopia (blue-blind)
#9C3558
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #96288e;
/* rgb */ color: rgb(150, 40, 142);
/* oklch */ color: oklch(48.8% 0.184 331.2);
Tailwind
colors: {
  custom: {
    50: '#b86daf',
    500: '#96288e',
    950: '#000000',
  },
}
SCSS
$custom: #96288e;
$custom-light: #b86daf;
$custom-dark: #000000;
JSON
{
  "hex": "#96288e",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 304.364,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48776,
    "c": 0.18415,
    "h": 331.2
  },
  "luminance": 0.09955
}

Semantic roles & 50–950 ramp

primary
#96288E
secondary
#5FBB65
accent
#E15247
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96288E

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

Preview Lab → · Contrast checker → · Palette generator →

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