#9E1399#9E1399

#9E1399 is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.3% C 0.214 H 330.0°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#9E1399
RGBrgb(158, 19, 153)
HSLhsl(302, 79%, 35%)
HSVhsv(302, 88%, 62%)
CMYKcmyk(0%, 88%, 3.2%, 38%)
CIE-LABlab(37.91, 65.45, -38.64)
CIE-LCHlch(37.91, 76.00, 329.44°)
OKLaboklab(49.35% 0.1853 -0.107)
OKLCHoklch(49.35% 0.214 330)
XYZxyz(20.0831, 10.0364, 31.0103)
Luminance0.1003 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1399 #139E18
analogous
#5D139E #9E1399 #9E1354
triadic
#9E1399 #999E13 #13999E
tetradic
#9E1399 #9E5D13 #139E18 #13549E
square
#9E1399 #9E5D13 #139E18 #13549E
split-complementary
#9E1399 #549E13 #139E5D
monochromatic
#31062F #670C64 #9E1399 #D51ACE #E843E2

Accessibility & contrast

On white

6.98
#9E1399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#9E1399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1399
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1399#FFFFFF#000000##FFFFFF
##9E13991.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#445F96
Tritanopia (blue-blind)
#A42D5A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1399;
/* rgb */ color: rgb(158, 19, 153);
/* oklch */ color: oklch(49.3% 0.214 330.0);
Tailwind
colors: {
  custom: {
    50: '#bf68b7',
    500: '#9e1399',
    950: '#000000',
  },
}
SCSS
$custom: #9e1399;
$custom-light: #bf68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1399",
  "rgb": {
    "r": 158,
    "g": 19,
    "b": 153
  },
  "hsl": {
    "h": 302.158,
    "s": 78.531,
    "l": 34.706
  },
  "oklch": {
    "l": 0.49346,
    "c": 0.214,
    "h": 330
  },
  "luminance": 0.10035
}

Semantic roles & 50–950 ramp

primary
#9E1399
secondary
#44C949
accent
#F53A33
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1399

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

Preview Lab → · Contrast checker → · Palette generator →

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