#96288B#96288B

#96288B is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.6% C 0.182 H 332.4°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#96288B
RGBrgb(150, 40, 139)
HSLhsl(306, 58%, 37%)
HSVhsv(306, 73%, 59%)
CMYKcmyk(0%, 73.3%, 7.3%, 41.2%)
CIE-LABlab(37.60, 56.07, -30.66)
CIE-LCHlch(37.60, 63.90, 331.33°)
OKLaboklab(48.61% 0.1612 -0.0842)
OKLCHoklch(48.61% 0.182 332.4)
XYZxyz(17.9967, 9.8672, 25.3778)
Luminance0.0987 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96288B #289633
analogous
#6A2896 #96288B #962854
triadic
#96288B #8B9628 #288B96
tetradic
#96288B #966A28 #289633 #285496
square
#96288B #966A28 #289633 #285496
split-complementary
#96288B #549628 #28966A
monochromatic
#350E31 #661B5E #96288B #C635B8 #D563CA

Accessibility & contrast

On white

7.06
#96288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96288B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96288B#FFFFFF#000000##FFFFFF
##96288B1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8E
Deuteranopia (green-blind)
#4C5E88
Tritanopia (blue-blind)
#9D3457
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #96288b;
/* rgb */ color: rgb(150, 40, 139);
/* oklch */ color: oklch(48.6% 0.182 332.4);
Tailwind
colors: {
  custom: {
    50: '#b86dad',
    500: '#96288b',
    950: '#000000',
  },
}
SCSS
$custom: #96288b;
$custom-light: #b86dad;
$custom-dark: #000000;
JSON
{
  "hex": "#96288b",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 306,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48608,
    "c": 0.18185,
    "h": 332.4
  },
  "luminance": 0.09866
}

Semantic roles & 50–950 ramp

primary
#96288B
secondary
#5FBB68
accent
#E15647
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #96288B

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

Preview Lab → · Contrast checker → · Palette generator →

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