#9E1E87#9E1E87

#9E1E87 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.02:1 contrast (WCAG AA passes).

Color values

HEX#9E1E87
RGBrgb(158, 30, 135)
HSLhsl(311, 68%, 37%)
HSVhsv(311, 81%, 62%)
CMYKcmyk(0%, 81%, 14.6%, 38%)
CIE-LABlab(37.75, 60.36, -27.87)
CIE-LCHlch(37.75, 66.48, 335.21°)
OKLaboklab(48.92% 0.178 -0.076)
OKLCHoklch(48.92% 0.194 336.9)
XYZxyz(18.9384, 9.9487, 23.8399)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E87 #1E9E35
analogous
#751E9E #9E1E87 #9E1E47
triadic
#9E1E87 #879E1E #1E879E
tetradic
#9E1E87 #9E751E #1E9E35 #1E479E
square
#9E1E87 #9E751E #1E9E35 #1E479E
split-complementary
#9E1E87 #479E1E #1E9E75
monochromatic
#370A2F #6B145B #9E1E87 #D128B3 #DF57C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1E87#FFFFFF#000000##FFFFFF
##9E1E871.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)
#224D8A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#A72852
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1e87;
/* rgb */ color: rgb(158, 30, 135);
/* oklch */ color: oklch(48.9% 0.194 336.9);
Tailwind
colors: {
  custom: {
    50: '#bf6aaa',
    500: '#9e1e87',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e87;
$custom-light: #bf6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e87",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 135
  },
  "hsl": {
    "h": 310.781,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48915,
    "c": 0.19354,
    "h": 336.9
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#9E1E87
secondary
#55C369
accent
#EB5C3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1E87

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

Preview Lab → · Contrast checker → · Palette generator →

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