#96288F#96288F

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

Color values

HEX#96288F
RGBrgb(150, 40, 143)
HSLhsl(304, 58%, 37%)
HSVhsv(304, 73%, 59%)
CMYKcmyk(0%, 73.3%, 4.7%, 41.2%)
CIE-LABlab(37.82, 56.72, -32.78)
CIE-LCHlch(37.82, 65.51, 329.98°)
OKLaboklab(48.83% 0.1614 -0.0903)
OKLCHoklch(48.83% 0.185 330.8)
XYZxyz(18.2943, 9.9862, 26.9453)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96288F #28962F
analogous
#662896 #96288F #962858
triadic
#96288F #8F9628 #288F96
tetradic
#96288F #966628 #28962F #285896
square
#96288F #966628 #28962F #285896
split-complementary
#96288F #589628 #289666
monochromatic
#350E33 #661B61 #96288F #C635BD #D563CE

Accessibility & contrast

On white

7.01
#96288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#96288F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #96288F
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96288F#FFFFFF#000000##FFFFFF
##96288F1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#4A5E8C
Tritanopia (blue-blind)
#9C3659
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #96288f;
/* rgb */ color: rgb(150, 40, 143);
/* oklch */ color: oklch(48.8% 0.185 330.8);
Tailwind
colors: {
  custom: {
    50: '#b86db0',
    500: '#96288f',
    950: '#000000',
  },
}
SCSS
$custom: #96288f;
$custom-light: #b86db0;
$custom-dark: #000000;
JSON
{
  "hex": "#96288f",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 303.818,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48832,
    "c": 0.18492,
    "h": 330.8
  },
  "luminance": 0.09985
}

Semantic roles & 50–950 ramp

primary
#96288F
secondary
#5FBB65
accent
#E15147
background
#FBF6FA
surface
#F6ECF5
border
#D0C7CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #96288F

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

Preview Lab → · Contrast checker → · Palette generator →

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