#9E1D89#9E1D89

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

Color values

HEX#9E1D89
RGBrgb(158, 29, 137)
HSLhsl(310, 69%, 37%)
HSVhsv(310, 82%, 62%)
CMYKcmyk(0%, 81.6%, 13.3%, 38%)
CIE-LABlab(37.76, 60.90, -29.08)
CIE-LCHlch(37.76, 67.49, 334.47°)
OKLaboklab(48.96% 0.1789 -0.0794)
OKLCHoklch(48.96% 0.196 336.1)
XYZxyz(19.0556, 9.9558, 24.5801)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D89 #1D9E32
analogous
#731D9E #9E1D89 #9E1D49
triadic
#9E1D89 #899E1D #1D899E
tetradic
#9E1D89 #9E731D #1D9E32 #1D499E
square
#9E1D89 #9E731D #1D9E32 #1D499E
split-complementary
#9E1D89 #499E1D #1D9E73
monochromatic
#370A2F #6A145C #9E1D89 #D226B6 #E056C9

Accessibility & contrast

On white

7.02
#9E1D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9E1D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D89
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D89#FFFFFF#000000##FFFFFF
##9E1D891.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4D8C
Deuteranopia (green-blind)
#4F6086
Tritanopia (blue-blind)
#A62853
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1d89;
/* rgb */ color: rgb(158, 29, 137);
/* oklch */ color: oklch(49.0% 0.196 336.1);
Tailwind
colors: {
  custom: {
    50: '#bf6aac',
    500: '#9e1d89',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d89;
$custom-light: #bf6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d89",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 137
  },
  "hsl": {
    "h": 309.767,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.19576,
    "h": 336.1
  },
  "luminance": 0.09954
}

Semantic roles & 50–950 ramp

primary
#9E1D89
secondary
#54C366
accent
#EC593C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1D89

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

Preview Lab → · Contrast checker → · Palette generator →

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