#96198E#96198E

#96198E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.7% C 0.199 H 331.2°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#96198E
RGBrgb(150, 25, 142)
HSLhsl(304, 71%, 34%)
HSVhsv(304, 83%, 59%)
CMYKcmyk(0%, 83.3%, 5.3%, 41.2%)
CIE-LABlab(36.24, 60.93, -34.66)
CIE-LCHlch(36.24, 70.10, 330.37°)
OKLaboklab(47.69% 0.174 -0.0957)
OKLCHoklch(47.69% 0.199 331.2)
XYZxyz(17.8078, 9.1338, 26.4110)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#96198E #199621
analogous
#601996 #96198E #961950
triadic
#96198E #8E9619 #198E96
tetradic
#96198E #966019 #199621 #195096
square
#96198E #966019 #199621 #195096
split-complementary
#96198E #509619 #199660
monochromatic
#2D082B #62105C #96198E #CA22C0 #E149D7

Accessibility & contrast

On white

7.43
#96198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#96198E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #96198E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##96198E#FFFFFF#000000##FFFFFF
##96198E1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044A91
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#9C2C55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #96198e;
/* rgb */ color: rgb(150, 25, 142);
/* oklch */ color: oklch(47.7% 0.199 331.2);
Tailwind
colors: {
  custom: {
    50: '#b968af',
    500: '#96198e',
    950: '#000000',
  },
}
SCSS
$custom: #96198e;
$custom-light: #b968af;
$custom-dark: #000000;
JSON
{
  "hex": "#96198e",
  "rgb": {
    "r": 150,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 303.84,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47687,
    "c": 0.19857,
    "h": 331.2
  },
  "luminance": 0.09132
}

Semantic roles & 50–950 ramp

primary
#96198E
secondary
#49C250
accent
#EE453A
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #96198E

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

Preview Lab → · Contrast checker → · Palette generator →

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