#9E1996#9E1996

#9E1996 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.208 H 331.1°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9E1996
RGBrgb(158, 25, 150)
HSLhsl(304, 73%, 36%)
HSVhsv(304, 84%, 62%)
CMYKcmyk(0%, 84.2%, 5.1%, 38%)
CIE-LABlab(38.14, 63.79, -36.44)
CIE-LCHlch(38.14, 73.47, 330.26°)
OKLaboklab(49.46% 0.182 -0.1007)
OKLCHoklch(49.46% 0.208 331.1)
XYZxyz(19.9532, 10.1681, 29.7600)
Luminance0.1017 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1996 #199E21
analogous
#63199E #9E1996 #9E1953
triadic
#9E1996 #969E19 #19969E
tetradic
#9E1996 #9E6319 #199E21 #19539E
square
#9E1996 #9E6319 #199E21 #19539E
split-complementary
#9E1996 #539E19 #199E63
monochromatic
#340832 #691164 #9E1996 #D321C8 #E34EDA

Accessibility & contrast

On white

6.92
#9E1996 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#9E1996 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1996
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1996#FFFFFF#000000##FFFFFF
##9E19961.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A52E59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1996;
/* rgb */ color: rgb(158, 25, 150);
/* oklch */ color: oklch(49.5% 0.208 331.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ab5',
    500: '#9e1996',
    950: '#000000',
  },
}
SCSS
$custom: #9e1996;
$custom-light: #bf6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1996",
  "rgb": {
    "r": 158,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 303.609,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49456,
    "c": 0.20797,
    "h": 331.1
  },
  "luminance": 0.10166
}

Semantic roles & 50–950 ramp

primary
#9E1996
secondary
#4EC555
accent
#EF4338
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1996

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

Preview Lab → · Contrast checker → · Palette generator →

#9E1996 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva