#9E1E84#9E1E84

#9E1E84 is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.8% C 0.192 H 338.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#9E1E84
RGBrgb(158, 30, 132)
HSLhsl(312, 68%, 37%)
HSVhsv(312, 81%, 62%)
CMYKcmyk(0%, 81%, 16.5%, 38%)
CIE-LABlab(37.60, 59.93, -26.25)
CIE-LCHlch(37.60, 65.43, 336.34°)
OKLaboklab(48.76% 0.1778 -0.0713)
OKLCHoklch(48.76% 0.192 338.1)
XYZxyz(18.7301, 9.8654, 22.7431)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1E84 #1E9E38
analogous
#781E9E #9E1E84 #9E1E44
triadic
#9E1E84 #849E1E #1E849E
tetradic
#9E1E84 #9E781E #1E9E38 #1E449E
square
#9E1E84 #9E781E #1E9E38 #1E449E
split-complementary
#9E1E84 #449E1E #1E9E78
monochromatic
#370A2E #6B1459 #9E1E84 #D128AF #DF57C4

Accessibility & contrast

On white

7.06
#9E1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #9E1E84
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1E84#FFFFFF#000000##FFFFFF
##9E1E841.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C87
Deuteranopia (green-blind)
#525F81
Tritanopia (blue-blind)
#A72650
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #9e1e84;
/* rgb */ color: rgb(158, 30, 132);
/* oklch */ color: oklch(48.8% 0.192 338.1);
Tailwind
colors: {
  custom: {
    50: '#bf6aa8',
    500: '#9e1e84',
    950: '#000000',
  },
}
SCSS
$custom: #9e1e84;
$custom-light: #bf6aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1e84",
  "rgb": {
    "r": 158,
    "g": 30,
    "b": 132
  },
  "hsl": {
    "h": 312.188,
    "s": 68.085,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48758,
    "c": 0.19153,
    "h": 338.1
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#9E1E84
secondary
#55C36B
accent
#EB603D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #9E1E84

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

Preview Lab → · Contrast checker → · Palette generator →

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