#9E1E88#9E1E88

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

Color values

HEX#9E1E88
RGBrgb(158, 30, 136)
HSLhsl(310, 68%, 37%)
HSVhsv(310, 81%, 62%)
CMYKcmyk(0%, 81%, 13.9%, 38%)
CIE-LABlab(37.80, 60.50, -28.41)
CIE-LCHlch(37.80, 66.84, 334.85°)
OKLaboklab(48.97% 0.1781 -0.0775)
OKLCHoklch(48.97% 0.194 336.5)
XYZxyz(19.0091, 9.9770, 24.2124)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E88 #1E9E34
analogous
#741E9E #9E1E88 #9E1E48
triadic
#9E1E88 #889E1E #1E889E
tetradic
#9E1E88 #9E741E #1E9E34 #1E489E
square
#9E1E88 #9E741E #1E9E34 #1E489E
split-complementary
#9E1E88 #489E1E #1E9E74
monochromatic
#370A2F #6B145C #9E1E88 #D128B4 #DF57C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E1E88#FFFFFF#000000##FFFFFF
##9E1E881.007.012.997.01
#FFFFFF7.011.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214D8B
Deuteranopia (green-blind)
#506085
Tritanopia (blue-blind)
#A72852
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9e1e88;
/* rgb */ color: rgb(158, 30, 136);
/* oklch */ color: oklch(49.0% 0.194 336.5);
Tailwind
colors: {
  custom: {
    50: '#bf6bab',
    500: '#9e1e88',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e88;
$custom-light: #bf6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e88",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 136
  },
  "hsl": {
    "h": 310.313,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48968,
    "c": 0.19421,
    "h": 336.5
  },
  "luminance": 0.09975
}

Semantic roles & 50–950 ramp

primary
#9E1E88
secondary
#55C368
accent
#EB5B3D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9E1E88

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

Preview Lab → · Contrast checker → · Palette generator →

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