#9E1593#9E1593

#9E1593 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.1% C 0.209 H 332.2°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#9E1593
RGBrgb(158, 21, 147)
HSLhsl(305, 77%, 35%)
HSVhsv(305, 87%, 62%)
CMYKcmyk(0%, 86.7%, 7%, 38%)
CIE-LABlab(37.69, 64.17, -35.34)
CIE-LCHlch(37.69, 73.25, 331.16°)
OKLaboklab(49.08% 0.1845 -0.0974)
OKLCHoklch(49.08% 0.209 332.2)
XYZxyz(19.6353, 9.9137, 28.4775)
Luminance0.0991 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1593 #159E20
analogous
#65159E #9E1593 #9E154E
triadic
#9E1593 #939E15 #15939E
tetradic
#9E1593 #9E6515 #159E20 #154E9E
square
#9E1593 #9E6515 #159E20 #154E9E
split-complementary
#9E1593 #4E9E15 #159E65
monochromatic
#32072E #680E61 #9E1593 #D41CC5 #E747DA

Accessibility & contrast

On white

7.04
#9E1593 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1593
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1593#FFFFFF#000000##FFFFFF
##9E15931.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014D96
Deuteranopia (green-blind)
#485F90
Tritanopia (blue-blind)
#A52A57
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1593;
/* rgb */ color: rgb(158, 21, 147);
/* oklch */ color: oklch(49.1% 0.209 332.2);
Tailwind
colors: {
  custom: {
    50: '#bf68b3',
    500: '#9e1593',
    950: '#000000',
  },
}
SCSS
$custom: #9e1593;
$custom-light: #bf68b3;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1593",
  "rgb": {
    "r": 158,
    "g": 21,
    "b": 147
  },
  "hsl": {
    "h": 304.818,
    "s": 76.536,
    "l": 35.098
  },
  "oklch": {
    "l": 0.49078,
    "c": 0.2086,
    "h": 332.2
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#9E1593
secondary
#47C752
accent
#F34435
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1593

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

Preview Lab → · Contrast checker → · Palette generator →

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