#9E1589#9E1589

#9E1589 is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.5% C 0.202 H 336.0°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#9E1589
RGBrgb(158, 21, 137)
HSLhsl(309, 77%, 35%)
HSVhsv(309, 87%, 62%)
CMYKcmyk(0%, 86.7%, 13.3%, 38%)
CIE-LABlab(37.14, 62.71, -30.06)
CIE-LCHlch(37.14, 69.54, 334.39°)
OKLaboklab(48.51% 0.1843 -0.0822)
OKLCHoklch(48.51% 0.202 336)
XYZxyz(18.8844, 9.6134, 24.5231)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1589 #159E2A
analogous
#6E159E #9E1589 #9E1545
triadic
#9E1589 #899E15 #15899E
tetradic
#9E1589 #9E6E15 #159E2A #15459E
square
#9E1589 #9E6E15 #159E2A #15459E
split-complementary
#9E1589 #459E15 #159E6E
monochromatic
#32072B #680E5A #9E1589 #D41CB8 #E747CE

Accessibility & contrast

On white

7.19
#9E1589 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#9E1589 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1589
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1589#FFFFFF#000000##FFFFFF
##9E15891.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174B8C
Deuteranopia (green-blind)
#4D5E86
Tritanopia (blue-blind)
#A72351
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #9e1589;
/* rgb */ color: rgb(158, 21, 137);
/* oklch */ color: oklch(48.5% 0.202 336.0);
Tailwind
colors: {
  custom: {
    50: '#bf68ac',
    500: '#9e1589',
    950: '#000000',
  },
}
SCSS
$custom: #9e1589;
$custom-light: #bf68ac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1589",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 137
  },
  "hsl": {
    "h": 309.197,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48511,
    "c": 0.20182,
    "h": 336
  },
  "luminance": 0.09612
}

Semantic roles & 50–950 ramp

primary
#9E1589
secondary
#47C75B
accent
#F35235
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1589

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

Preview Lab → · Contrast checker → · Palette generator →

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