#96178B#96178B

#96178B is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.198 H 332.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#96178B
RGBrgb(150, 23, 139)
HSLhsl(305, 73%, 34%)
HSVhsv(305, 85%, 59%)
CMYKcmyk(0%, 84.7%, 7.3%, 41.2%)
CIE-LABlab(35.91, 60.93, -33.33)
CIE-LCHlch(35.91, 69.45, 331.32°)
OKLaboklab(47.4% 0.1754 -0.0918)
OKLCHoklch(47.4% 0.198 332.4)
XYZxyz(17.5444, 8.9624, 25.2270)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96178B #179622
analogous
#621796 #96178B #96174C
triadic
#96178B #8B9617 #178B96
tetradic
#96178B #966217 #179622 #174C96
square
#96178B #966217 #179622 #174C96
split-complementary
#96178B #4C9617 #179662
monochromatic
#2C0729 #610F5A #96178B #CB1FBC #E245D5

Accessibility & contrast

On white

7.52
#96178B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96178B
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96178B#FFFFFF#000000##FFFFFF
##96178B1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08498E
Deuteranopia (green-blind)
#465B88
Tritanopia (blue-blind)
#9D2953
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #96178b;
/* rgb */ color: rgb(150, 23, 139);
/* oklch */ color: oklch(47.4% 0.198 332.4);
Tailwind
colors: {
  custom: {
    50: '#b967ad',
    500: '#96178b',
    950: '#000000',
  },
}
SCSS
$custom: #96178b;
$custom-light: #b967ad;
$custom-dark: #000000;
JSON
{
  "hex": "#96178b",
  "rgb": {
    "r": 150,
    "g": 23,
    "b": 139
  },
  "hsl": {
    "h": 305.197,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47398,
    "c": 0.19794,
    "h": 332.4
  },
  "luminance": 0.08961
}

Semantic roles & 50–950 ramp

primary
#96178B
secondary
#45C350
accent
#F04838
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96178B

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

Preview Lab → · Contrast checker → · Palette generator →

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