#9E1C87#9E1C87

#9E1C87 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.8% C 0.195 H 336.9°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#9E1C87
RGBrgb(158, 28, 135)
HSLhsl(311, 70%, 36%)
HSVhsv(311, 82%, 62%)
CMYKcmyk(0%, 82.3%, 14.6%, 38%)
CIE-LABlab(37.57, 60.87, -28.15)
CIE-LCHlch(37.57, 67.06, 335.18°)
OKLaboklab(48.79% 0.1795 -0.0767)
OKLCHoklch(48.79% 0.195 336.9)
XYZxyz(18.8894, 9.8507, 23.8235)
Luminance0.0985 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1C87 #1C9E33
analogous
#741C9E #9E1C87 #9E1C46
triadic
#9E1C87 #879E1C #1C879E
tetradic
#9E1C87 #9E741C #1C9E33 #1C469E
square
#9E1C87 #9E741C #1C9E33 #1C469E
split-complementary
#9E1C87 #469E1C #1C9E74
monochromatic
#360A2E #6A135B #9E1C87 #D225B3 #E154C8

Accessibility & contrast

On white

7.07
#9E1C87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#9E1C87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9E1C87
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1C87#FFFFFF#000000##FFFFFF
##9E1C871.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204C8A
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#A72651
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1c87;
/* rgb */ color: rgb(158, 28, 135);
/* oklch */ color: oklch(48.8% 0.195 336.9);
Tailwind
colors: {
  custom: {
    50: '#bf6aaa',
    500: '#9e1c87',
    950: '#000000',
  },
}
SCSS
$custom: #9e1c87;
$custom-light: #bf6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1c87",
  "rgb": {
    "r": 158,
    "g": 28,
    "b": 135
  },
  "hsl": {
    "h": 310.615,
    "s": 69.892,
    "l": 36.471
  },
  "oklch": {
    "l": 0.48788,
    "c": 0.19525,
    "h": 336.9
  },
  "luminance": 0.09849
}

Semantic roles & 50–950 ramp

primary
#9E1C87
secondary
#52C466
accent
#ED5B3B
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1C87

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

Preview Lab → · Contrast checker → · Palette generator →

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