#96188C#96188C

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

Color values

HEX#96188C
RGBrgb(150, 24, 140)
HSLhsl(305, 72%, 34%)
HSVhsv(305, 84%, 59%)
CMYKcmyk(0%, 84%, 6.7%, 41.2%)
CIE-LABlab(36.05, 60.86, -33.74)
CIE-LCHlch(36.05, 69.58, 331.00°)
OKLaboklab(47.51% 0.1747 -0.093)
OKLCHoklch(47.51% 0.198 332)
XYZxyz(17.6380, 9.0323, 25.6203)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96188C #189622
analogous
#611896 #96188C #96184D
triadic
#96188C #8C9618 #188C96
tetradic
#96188C #966118 #189622 #184D96
square
#96188C #966118 #189622 #184D96
split-complementary
#96188C #4D9618 #189661
monochromatic
#2C072A #61105B #96188C #CB20BD #E247D5

Accessibility & contrast

On white

7.48
#96188C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#96188C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96188C
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96188C#FFFFFF#000000##FFFFFF
##96188C1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #96188c;
/* rgb */ color: rgb(150, 24, 140);
/* oklch */ color: oklch(47.5% 0.198 332.0);
Tailwind
colors: {
  custom: {
    50: '#b968ae',
    500: '#96188c',
    950: '#000000',
  },
}
SCSS
$custom: #96188c;
$custom-light: #b968ae;
$custom-dark: #000000;
JSON
{
  "hex": "#96188c",
  "rgb": {
    "r": 150,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 304.762,
    "s": 72.414,
    "l": 34.118
  },
  "oklch": {
    "l": 0.47512,
    "c": 0.1979,
    "h": 332
  },
  "luminance": 0.09031
}

Semantic roles & 50–950 ramp

primary
#96188C
secondary
#47C351
accent
#EF4739
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96188C

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

Preview Lab → · Contrast checker → · Palette generator →

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