#9E1A96#9E1A96

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

Color values

HEX#9E1A96
RGBrgb(158, 26, 150)
HSLhsl(304, 72%, 36%)
HSVhsv(304, 84%, 62%)
CMYKcmyk(0%, 83.5%, 5.1%, 38%)
CIE-LABlab(38.22, 63.57, -36.32)
CIE-LCHlch(38.22, 73.21, 330.26°)
OKLaboklab(49.51% 0.1813 -0.1003)
OKLCHoklch(49.51% 0.207 331.1)
XYZxyz(19.9750, 10.2116, 29.7672)
Luminance0.1021 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1A96 #1A9E22
analogous
#641A9E #9E1A96 #9E1A54
triadic
#9E1A96 #969E1A #1A969E
tetradic
#9E1A96 #9E641A #1A9E22 #1A549E
square
#9E1A96 #9E641A #1A9E22 #1A549E
split-complementary
#9E1A96 #549E1A #1A9E64
monochromatic
#350932 #691164 #9E1A96 #D323C8 #E250D9

Accessibility & contrast

On white

6.90
#9E1A96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E1A96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1A96
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1A96#FFFFFF#000000##FFFFFF
##9E1A961.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024F99
Deuteranopia (green-blind)
#486093
Tritanopia (blue-blind)
#A52E5A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1a96;
/* rgb */ color: rgb(158, 26, 150);
/* oklch */ color: oklch(49.5% 0.207 331.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ab5',
    500: '#9e1a96',
    950: '#000000',
  },
}
SCSS
$custom: #9e1a96;
$custom-light: #bf6ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1a96",
  "rgb": {
    "r": 158,
    "g": 26,
    "b": 150
  },
  "hsl": {
    "h": 303.636,
    "s": 71.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49511,
    "c": 0.20723,
    "h": 331.1
  },
  "luminance": 0.1021
}

Semantic roles & 50–950 ramp

primary
#9E1A96
secondary
#4FC556
accent
#EE4439
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1A96

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

Preview Lab → · Contrast checker → · Palette generator →

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