#9E1D8A#9E1D8A

#9E1D8A is a mid, vivid purple. Relative luminance 0.100; OKLCH L 49.0% C 0.196 H 335.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9E1D8A
RGBrgb(158, 29, 138)
HSLhsl(309, 69%, 37%)
HSVhsv(309, 82%, 62%)
CMYKcmyk(0%, 81.6%, 12.7%, 38%)
CIE-LABlab(37.81, 61.05, -29.62)
CIE-LCHlch(37.81, 67.85, 334.12°)
OKLaboklab(49.01% 0.179 -0.081)
OKLCHoklch(49.01% 0.196 335.7)
XYZxyz(19.1277, 9.9846, 24.9597)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D8A #1D9E31
analogous
#721D9E #9E1D8A #9E1D4A
triadic
#9E1D8A #8A9E1D #1D8A9E
tetradic
#9E1D8A #9E721D #1D9E31 #1D4A9E
square
#9E1D8A #9E721D #1D9E31 #1D4A9E
split-complementary
#9E1D8A #4A9E1D #1D9E72
monochromatic
#370A30 #6A145D #9E1D8A #D226B7 #E056CA

Accessibility & contrast

On white

7.01
#9E1D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#9E1D8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1D8A
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D8A#FFFFFF#000000##FFFFFF
##9E1D8A1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4D8D
Deuteranopia (green-blind)
#4F6087
Tritanopia (blue-blind)
#A62953
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1d8a;
/* rgb */ color: rgb(158, 29, 138);
/* oklch */ color: oklch(49.0% 0.196 335.7);
Tailwind
colors: {
  custom: {
    50: '#bf6aac',
    500: '#9e1d8a',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d8a;
$custom-light: #bf6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d8a",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 138
  },
  "hsl": {
    "h": 309.302,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49011,
    "c": 0.19644,
    "h": 335.7
  },
  "luminance": 0.09983
}

Semantic roles & 50–950 ramp

primary
#9E1D8A
secondary
#54C365
accent
#EC573C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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