#9E1592#9E1592

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

Color values

HEX#9E1592
RGBrgb(158, 21, 146)
HSLhsl(305, 77%, 35%)
HSVhsv(305, 87%, 62%)
CMYKcmyk(0%, 86.7%, 7.6%, 38%)
CIE-LABlab(37.63, 64.02, -34.82)
CIE-LCHlch(37.63, 72.87, 331.46°)
OKLaboklab(49.02% 0.1845 -0.0959)
OKLCHoklch(49.02% 0.208 332.5)
XYZxyz(19.5571, 9.8825, 28.0661)
Luminance0.0988 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1592 #159E21
analogous
#65159E #9E1592 #9E154E
triadic
#9E1592 #929E15 #15929E
tetradic
#9E1592 #9E6515 #159E21 #154E9E
square
#9E1592 #9E6515 #159E21 #154E9E
split-complementary
#9E1592 #4E9E15 #159E65
monochromatic
#32072E #680E60 #9E1592 #D41CC4 #E747D9

Accessibility & contrast

On white

7.06
#9E1592 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9E1592 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1592
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1592#FFFFFF#000000##FFFFFF
##9E15921.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044D95
Deuteranopia (green-blind)
#495F8F
Tritanopia (blue-blind)
#A52956
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1592;
/* rgb */ color: rgb(158, 21, 146);
/* oklch */ color: oklch(49.0% 0.208 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf68b2',
    500: '#9e1592',
    950: '#000000',
  },
}
SCSS
$custom: #9e1592;
$custom-light: #bf68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1592",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 146
  },
  "hsl": {
    "h": 305.255,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4902,
    "c": 0.20791,
    "h": 332.5
  },
  "luminance": 0.09881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9E1592

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

Preview Lab → · Contrast checker → · Palette generator →

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