#96178C#96178C

#96178C is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.5% C 0.199 H 332.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#96178C
RGBrgb(150, 23, 140)
HSLhsl(305, 73%, 34%)
HSVhsv(305, 85%, 59%)
CMYKcmyk(0%, 84.7%, 6.7%, 41.2%)
CIE-LABlab(35.97, 61.08, -33.86)
CIE-LCHlch(35.97, 69.84, 331.00°)
OKLaboklab(47.46% 0.1753 -0.0934)
OKLCHoklch(47.46% 0.199 332)
XYZxyz(17.6178, 8.9918, 25.6136)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96178C #179621
analogous
#611796 #96178C #96174D
triadic
#96178C #8C9617 #178C96
tetradic
#96178C #966117 #179621 #174D96
square
#96178C #966117 #179621 #174D96
split-complementary
#96178C #4D9617 #179661
monochromatic
#2C0729 #610F5A #96178C #CB1FBE #E245D6

Accessibility & contrast

On white

7.51
#96178C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#96178C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96178C
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96178C#FFFFFF#000000##FFFFFF
##96178C1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064A8F
Deuteranopia (green-blind)
#455B89
Tritanopia (blue-blind)
#9D2A53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96178c;
/* rgb */ color: rgb(150, 23, 140);
/* oklch */ color: oklch(47.5% 0.199 332.0);
Tailwind
colors: {
  custom: {
    50: '#b967ae',
    500: '#96178c',
    950: '#000000',
  },
}
SCSS
$custom: #96178c;
$custom-light: #b967ae;
$custom-dark: #000000;
JSON
{
  "hex": "#96178c",
  "rgb": {
    "r": 150,
    "g": 23,
    "b": 140
  },
  "hsl": {
    "h": 304.724,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47457,
    "c": 0.19865,
    "h": 332
  },
  "luminance": 0.0899
}

Semantic roles & 50–950 ramp

primary
#96178C
secondary
#45C34F
accent
#F04638
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96178C

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

Preview Lab → · Contrast checker → · Palette generator →

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