#96178A#96178A

#96178A is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.197 H 332.8°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#96178A
RGBrgb(150, 23, 138)
HSLhsl(306, 73%, 34%)
HSVhsv(306, 85%, 59%)
CMYKcmyk(0%, 84.7%, 8%, 41.2%)
CIE-LABlab(35.86, 60.78, -32.81)
CIE-LCHlch(35.86, 69.07, 331.64°)
OKLaboklab(47.34% 0.1753 -0.0903)
OKLCHoklch(47.34% 0.197 332.8)
XYZxyz(17.4716, 8.9333, 24.8440)
Luminance0.0893 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96178A #179623
analogous
#631796 #96178A #96174B
triadic
#96178A #8A9617 #178A96
tetradic
#96178A #966317 #179623 #174B96
square
#96178A #966317 #179623 #174B96
split-complementary
#96178A #4B9617 #179663
monochromatic
#2C0728 #610F59 #96178A #CB1FBB #E245D4

Accessibility & contrast

On white

7.54
#96178A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#96178A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96178A
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96178A#FFFFFF#000000##FFFFFF
##96178A1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B498D
Deuteranopia (green-blind)
#465A87
Tritanopia (blue-blind)
#9D2852
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #96178a;
/* rgb */ color: rgb(150, 23, 138);
/* oklch */ color: oklch(47.3% 0.197 332.8);
Tailwind
colors: {
  custom: {
    50: '#b967ac',
    500: '#96178a',
    950: '#000000',
  },
}
SCSS
$custom: #96178a;
$custom-light: #b967ac;
$custom-dark: #000000;
JSON
{
  "hex": "#96178a",
  "rgb": {
    "r": 150,
    "g": 23,
    "b": 138
  },
  "hsl": {
    "h": 305.669,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4734,
    "c": 0.19723,
    "h": 332.8
  },
  "luminance": 0.08932
}

Semantic roles & 50–950 ramp

primary
#96178A
secondary
#45C351
accent
#F04938
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96178A

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

Preview Lab → · Contrast checker → · Palette generator →

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