#9E1799#9E1799

#9E1799 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.211 H 330.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#9E1799
RGBrgb(158, 23, 153)
HSLhsl(302, 75%, 35%)
HSVhsv(302, 85%, 62%)
CMYKcmyk(0%, 85.4%, 3.2%, 38%)
CIE-LABlab(38.17, 64.68, -38.23)
CIE-LCHlch(38.17, 75.13, 329.42°)
OKLaboklab(49.53% 0.1831 -0.1058)
OKLCHoklch(49.53% 0.212 330)
XYZxyz(20.1566, 10.1835, 31.0348)
Luminance0.1018 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1799 #179E1C
analogous
#5F179E #9E1799 #9E1756
triadic
#9E1799 #999E17 #17999E
tetradic
#9E1799 #9E5F17 #179E1C #17569E
square
#9E1799 #9E5F17 #179E1C #17569E
split-complementary
#9E1799 #569E17 #179E5F
monochromatic
#330732 #690F65 #9E1799 #D31FCD #E54BDF

Accessibility & contrast

On white

6.92
#9E1799 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9E1799 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1799
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1799#FFFFFF#000000##FFFFFF
##9E17991.006.923.046.92
#FFFFFF6.921.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#456096
Tritanopia (blue-blind)
#A42F5B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9e1799;
/* rgb */ color: rgb(158, 23, 153);
/* oklch */ color: oklch(49.5% 0.211 330.0);
Tailwind
colors: {
  custom: {
    50: '#bf69b7',
    500: '#9e1799',
    950: '#000000',
  },
}
SCSS
$custom: #9e1799;
$custom-light: #bf69b7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1799",
  "rgb": {
    "r": 158,
    "g": 23,
    "b": 153
  },
  "hsl": {
    "h": 302.222,
    "s": 74.586,
    "l": 35.49
  },
  "oklch": {
    "l": 0.49531,
    "c": 0.2115,
    "h": 330
  },
  "luminance": 0.10182
}

Semantic roles & 50–950 ramp

primary
#9E1799
secondary
#4AC64F
accent
#F13D37
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9E1799

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

Preview Lab → · Contrast checker → · Palette generator →

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