#96198C#96198C

#96198C is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.197 H 332.0°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#96198C
RGBrgb(150, 25, 140)
HSLhsl(305, 71%, 34%)
HSVhsv(305, 83%, 59%)
CMYKcmyk(0%, 83.3%, 6.7%, 41.2%)
CIE-LABlab(36.13, 60.62, -33.61)
CIE-LCHlch(36.13, 69.32, 331.00°)
OKLaboklab(47.57% 0.174 -0.0926)
OKLCHoklch(47.57% 0.197 332)
XYZxyz(17.6590, 9.0743, 25.6273)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96198C #199623
analogous
#621996 #96198C #96194E
triadic
#96198C #8C9619 #198C96
tetradic
#96198C #966219 #199623 #194E96
square
#96198C #966219 #199623 #194E96
split-complementary
#96198C #4E9619 #199662
monochromatic
#2D082A #62105B #96198C #CA22BD #E149D4

Accessibility & contrast

On white

7.46
#96198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #96198C
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96198C#FFFFFF#000000##FFFFFF
##96198C1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4A8F
Deuteranopia (green-blind)
#465B89
Tritanopia (blue-blind)
#9D2B54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96198c;
/* rgb */ color: rgb(150, 25, 140);
/* oklch */ color: oklch(47.6% 0.197 332.0);
Tailwind
colors: {
  custom: {
    50: '#b968ae',
    500: '#96198c',
    950: '#000000',
  },
}
SCSS
$custom: #96198c;
$custom-light: #b968ae;
$custom-dark: #000000;
JSON
{
  "hex": "#96198c",
  "rgb": {
    "r": 150,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 304.8,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4757,
    "c": 0.19712,
    "h": 332
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#96198C
secondary
#49C252
accent
#EE483A
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96198C

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

Preview Lab → · Contrast checker → · Palette generator →

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