#9E1591#9E1591

#9E1591 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.207 H 332.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9E1591
RGBrgb(158, 21, 145)
HSLhsl(306, 77%, 35%)
HSVhsv(306, 87%, 62%)
CMYKcmyk(0%, 86.7%, 8.2%, 38%)
CIE-LABlab(37.57, 63.87, -34.29)
CIE-LCHlch(37.57, 72.49, 331.77°)
OKLaboklab(48.96% 0.1845 -0.0944)
OKLCHoklch(48.96% 0.207 332.9)
XYZxyz(19.4797, 9.8515, 27.6582)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1591 #159E22
analogous
#66159E #9E1591 #9E154D
triadic
#9E1591 #919E15 #15919E
tetradic
#9E1591 #9E6615 #159E22 #154D9E
square
#9E1591 #9E6615 #159E22 #154D9E
split-complementary
#9E1591 #4D9E15 #159E66
monochromatic
#32072E #680E5F #9E1591 #D41CC3 #E747D7

Accessibility & contrast

On white

7.07
#9E1591 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E1591 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1591
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1591#FFFFFF#000000##FFFFFF
##9E15911.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064C94
Deuteranopia (green-blind)
#495F8E
Tritanopia (blue-blind)
#A52956
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1591;
/* rgb */ color: rgb(158, 21, 145);
/* oklch */ color: oklch(49.0% 0.207 332.9);
Tailwind
colors: {
  custom: {
    50: '#bf68b2',
    500: '#9e1591',
    950: '#000000',
  },
}
SCSS
$custom: #9e1591;
$custom-light: #bf68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1591",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 145
  },
  "hsl": {
    "h": 305.693,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48962,
    "c": 0.20723,
    "h": 332.9
  },
  "luminance": 0.0985
}

Semantic roles & 50–950 ramp

primary
#9E1591
secondary
#47C753
accent
#F34735
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1591

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

Preview Lab → · Contrast checker → · Palette generator →

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