#96288A#96288A

#96288A is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.181 H 332.8°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#96288A
RGBrgb(150, 40, 138)
HSLhsl(307, 58%, 37%)
HSVhsv(307, 73%, 59%)
CMYKcmyk(0%, 73.3%, 8%, 41.2%)
CIE-LABlab(37.55, 55.91, -30.13)
CIE-LCHlch(37.55, 63.51, 331.68°)
OKLaboklab(48.55% 0.1611 -0.0827)
OKLCHoklch(48.55% 0.181 332.8)
XYZxyz(17.9240, 9.8381, 24.9948)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96288A #289634
analogous
#6B2896 #96288A #962853
triadic
#96288A #8A9628 #288A96
tetradic
#96288A #966B28 #289634 #285396
square
#96288A #966B28 #289634 #285396
split-complementary
#96288A #539628 #28966B
monochromatic
#350E31 #661B5E #96288A #C635B6 #D563C9

Accessibility & contrast

On white

7.08
#96288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#96288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96288A
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96288A#FFFFFF#000000##FFFFFF
##96288A1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8D
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#9D3356
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #96288a;
/* rgb */ color: rgb(150, 40, 138);
/* oklch */ color: oklch(48.6% 0.181 332.8);
Tailwind
colors: {
  custom: {
    50: '#b86dac',
    500: '#96288a',
    950: '#000000',
  },
}
SCSS
$custom: #96288a;
$custom-light: #b86dac;
$custom-dark: #000000;
JSON
{
  "hex": "#96288a",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 306.545,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48553,
    "c": 0.18109,
    "h": 332.8
  },
  "luminance": 0.09837
}

Semantic roles & 50–950 ramp

primary
#96288A
secondary
#5FBB69
accent
#E15847
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96288A

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

Preview Lab → · Contrast checker → · Palette generator →

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