#96178D#96178D

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

Color values

HEX#96178D
RGBrgb(150, 23, 141)
HSLhsl(304, 73%, 34%)
HSVhsv(304, 85%, 59%)
CMYKcmyk(0%, 84.7%, 6%, 41.2%)
CIE-LABlab(36.03, 61.24, -34.39)
CIE-LCHlch(36.03, 70.23, 330.68°)
OKLaboklab(47.52% 0.1753 -0.0949)
OKLCHoklch(47.52% 0.199 331.6)
XYZxyz(17.6918, 9.0214, 26.0037)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96178D #179620
analogous
#601796 #96178D #96174E
triadic
#96178D #8D9617 #178D96
tetradic
#96178D #966017 #179620 #174E96
square
#96178D #966017 #179620 #174E96
split-complementary
#96178D #4E9617 #179660
monochromatic
#2C0729 #610F5B #96178D #CB1FBF #E245D7

Accessibility & contrast

On white

7.49
#96178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96178D
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96178D#FFFFFF#000000##FFFFFF
##96178D1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034A90
Deuteranopia (green-blind)
#455B8A
Tritanopia (blue-blind)
#9C2A54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96178d;
/* rgb */ color: rgb(150, 23, 141);
/* oklch */ color: oklch(47.5% 0.199 331.6);
Tailwind
colors: {
  custom: {
    50: '#b967af',
    500: '#96178d',
    950: '#000000',
  },
}
SCSS
$custom: #96178d;
$custom-light: #b967af;
$custom-dark: #000000;
JSON
{
  "hex": "#96178d",
  "rgb": {
    "r": 150,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 304.252,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47516,
    "c": 0.19936,
    "h": 331.6
  },
  "luminance": 0.0902
}

Semantic roles & 50–950 ramp

primary
#96178D
secondary
#45C34E
accent
#F04538
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96178D

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

Preview Lab → · Contrast checker → · Palette generator →

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