#9E1D87#9E1D87

#9E1D87 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.9% C 0.194 H 336.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#9E1D87
RGBrgb(158, 29, 135)
HSLhsl(311, 69%, 37%)
HSVhsv(311, 82%, 62%)
CMYKcmyk(0%, 81.6%, 14.6%, 38%)
CIE-LABlab(37.66, 60.61, -28.01)
CIE-LCHlch(37.66, 66.77, 335.20°)
OKLaboklab(48.85% 0.1788 -0.0764)
OKLCHoklch(48.85% 0.194 336.9)
XYZxyz(18.9135, 9.8989, 23.8316)
Luminance0.0990 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1D87 #1D9E34
analogous
#751D9E #9E1D87 #9E1D46
triadic
#9E1D87 #879E1D #1D879E
tetradic
#9E1D87 #9E751D #1D9E34 #1D469E
square
#9E1D87 #9E751D #1D9E34 #1D469E
split-complementary
#9E1D87 #469E1D #1D9E75
monochromatic
#370A2F #6A145B #9E1D87 #D226B3 #E056C7

Accessibility & contrast

On white

7.05
#9E1D87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#9E1D87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1D87
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1D87#FFFFFF#000000##FFFFFF
##9E1D871.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C8A
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#A72752
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1d87;
/* rgb */ color: rgb(158, 29, 135);
/* oklch */ color: oklch(48.9% 0.194 336.9);
Tailwind
colors: {
  custom: {
    50: '#bf6aaa',
    500: '#9e1d87',
    950: '#000000',
  },
}
SCSS
$custom: #9e1d87;
$custom-light: #bf6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1d87",
  "rgb": {
    "r": 158,
    "g": 29,
    "b": 135
  },
  "hsl": {
    "h": 310.698,
    "s": 68.984,
    "l": 36.667
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.1944,
    "h": 336.9
  },
  "luminance": 0.09897
}

Semantic roles & 50–950 ramp

primary
#9E1D87
secondary
#54C367
accent
#EC5B3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1D87

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

Preview Lab → · Contrast checker → · Palette generator →

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