#9E1A87#9E1A87
#9E1A87 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.197 H 336.8°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1A87 |
|---|---|
| RGB | rgb(158, 26, 135) |
| HSL | hsl(310, 72%, 36%) |
| HSV | hsv(310, 84%, 62%) |
| CMYK | cmyk(0%, 83.5%, 14.6%, 38%) |
| CIE-LAB | lab(37.41, 61.35, -28.41) |
| CIE-LCH | lch(37.41, 67.61, 335.15°) |
| OKLab | oklab(48.67% 0.181 -0.0775) |
| OKLCH | oklch(48.67% 0.197 336.8) |
| XYZ | xyz(18.8435, 9.7590, 23.8083) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.12
Barney Purple
#A00498
ΔE00 3.49
Darkmagenta
#8B008B
ΔE00 5.52
Red Violet
#9E0168
ΔE00 6.54
Purple
#800080
ΔE00 7.11
Light Eggplant
#894585
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1A87 #1A9E31
analogous
#731A9E #9E1A87 #9E1A45
triadic
#9E1A87 #879E1A #1A879E
tetradic
#9E1A87 #9E731A #1A9E31 #1A459E
square
#9E1A87 #9E731A #1A9E31 #1A459E
split-complementary
#9E1A87 #459E1A #1A9E73
monochromatic
#35092D #69115A #9E1A87 #D323B4 #E250C9
Accessibility & contrast
On white
7.12
#9E1A87 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9E1A87 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1A87
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1A87 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1A87 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4B8A
Deuteranopia (green-blind)
#505F84
Tritanopia (blue-blind)
#A72551
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1a87; /* rgb */ color: rgb(158, 26, 135); /* oklch */ color: oklch(48.7% 0.197 336.8);
Tailwind
colors: {
custom: {
50: '#bf69aa',
500: '#9e1a87',
950: '#000000',
},
}SCSS
$custom: #9e1a87; $custom-light: #bf69aa; $custom-dark: #000000;
JSON
{
"hex": "#9e1a87",
"rgb": {
"r": 158,
"g": 26,
"b": 135
},
"hsl": {
"h": 310.455,
"s": 71.739,
"l": 36.078
},
"oklch": {
"l": 0.48668,
"c": 0.19688,
"h": 336.8
},
"luminance": 0.09757
}Semantic roles & 50–950 ramp
primary
#9E1A87
secondary
#4FC564
accent
#EE5939
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F