#96178F#96178F

#96178F is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.6% C 0.201 H 330.8°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#96178F
RGBrgb(150, 23, 143)
HSLhsl(303, 73%, 34%)
HSVhsv(303, 85%, 59%)
CMYKcmyk(0%, 84.7%, 4.7%, 41.2%)
CIE-LABlab(36.14, 61.54, -35.43)
CIE-LCHlch(36.14, 71.02, 330.07°)
OKLaboklab(47.64% 0.1753 -0.0979)
OKLCHoklch(47.64% 0.201 330.8)
XYZxyz(17.8420, 9.0815, 26.7945)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96178F #17961E
analogous
#5E1796 #96178F #961750
triadic
#96178F #8F9617 #178F96
tetradic
#96178F #965E17 #17961E #175096
square
#96178F #965E17 #17961E #175096
split-complementary
#96178F #509617 #17965E
monochromatic
#2C072A #610F5C #96178F #CB1FC2 #E245DA

Accessibility & contrast

On white

7.46
#96178F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#96178F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96178F
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96178F#FFFFFF#000000##FFFFFF
##96178F1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A92
Deuteranopia (green-blind)
#435B8C
Tritanopia (blue-blind)
#9C2B55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96178f;
/* rgb */ color: rgb(150, 23, 143);
/* oklch */ color: oklch(47.6% 0.201 330.8);
Tailwind
colors: {
  custom: {
    50: '#b967b0',
    500: '#96178f',
    950: '#000000',
  },
}
SCSS
$custom: #96178f;
$custom-light: #b967b0;
$custom-dark: #000000;
JSON
{
  "hex": "#96178f",
  "rgb": {
    "r": 150,
    "g": 23,
    "b": 143
  },
  "hsl": {
    "h": 303.307,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.47635,
    "c": 0.20079,
    "h": 330.8
  },
  "luminance": 0.0908
}

Semantic roles & 50–950 ramp

primary
#96178F
secondary
#45C34C
accent
#F04238
background
#FBF6FA
surface
#F7EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #96178F

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

Preview Lab → · Contrast checker → · Palette generator →

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