#9E2399#9E2399

#9E2399 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.202 H 329.9°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9E2399
RGBrgb(158, 35, 153)
HSLhsl(302, 64%, 38%)
HSVhsv(302, 78%, 62%)
CMYKcmyk(0%, 77.8%, 3.2%, 38%)
CIE-LABlab(39.20, 61.71, -36.60)
CIE-LCHlch(39.20, 71.74, 329.33°)
OKLaboklab(50.26% 0.1746 -0.1012)
OKLCHoklch(50.26% 0.202 329.9)
XYZxyz(20.4512, 10.7727, 31.1330)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E2399 #239E28
analogous
#65239E #9E2399 #9E235B
triadic
#9E2399 #999E23 #23999E
tetradic
#9E2399 #9E6523 #239E28 #235B9E
square
#9E2399 #9E6523 #239E28 #235B9E
split-complementary
#9E2399 #5B9E23 #239E65
monochromatic
#3A0D38 #6C1868 #9E2399 #D02ECA #DC60D7

Accessibility & contrast

On white

6.66
#9E2399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#9E2399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E2399
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E2399#FFFFFF#000000##FFFFFF
##9E23991.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E529C
Deuteranopia (green-blind)
#496296
Tritanopia (blue-blind)
#A4355D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9e2399;
/* rgb */ color: rgb(158, 35, 153);
/* oklch */ color: oklch(50.3% 0.202 329.9);
Tailwind
colors: {
  custom: {
    50: '#be6db7',
    500: '#9e2399',
    950: '#000000',
  },
}
SCSS
$custom: #9e2399;
$custom-light: #be6db7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e2399",
  "rgb": {
    "r": 158,
    "g": 35,
    "b": 153
  },
  "hsl": {
    "h": 302.439,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.5026,
    "c": 0.20178,
    "h": 329.9
  },
  "luminance": 0.10771
}

Semantic roles & 50–950 ramp

primary
#9E2399
secondary
#5CC160
accent
#E74841
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9E2399

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

Preview Lab → · Contrast checker → · Palette generator →

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