#9E1E81#9E1E81
#9E1E81 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.190 H 339.4°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1E81 |
|---|---|
| RGB | rgb(158, 30, 129) |
| HSL | hsl(314, 68%, 37%) |
| HSV | hsv(314, 81%, 62%) |
| CMYK | cmyk(0%, 81%, 18.4%, 38%) |
| CIE-LAB | lab(37.45, 59.51, -24.62) |
| CIE-LCH | lch(37.45, 64.40, 337.52°) |
| OKLab | oklab(48.6% 0.1774 -0.0667) |
| OKLCH | oklch(48.6% 0.19 339.4) |
| XYZ | xyz(18.5278, 9.7845, 21.6775) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.96
Barney Purple
#A00498
ΔE00 4.89
Red Violet
#9E0168
ΔE00 5.38
Darkmagenta
#8B008B
ΔE00 6.56
Light Eggplant
#894585
ΔE00 7.21
Ugly Purple
#A442A0
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1E81 #1E9E3B
analogous
#7B1E9E #9E1E81 #9E1E41
triadic
#9E1E81 #819E1E #1E819E
tetradic
#9E1E81 #9E7B1E #1E9E3B #1E419E
square
#9E1E81 #9E7B1E #1E9E3B #1E419E
split-complementary
#9E1E81 #419E1E #1E9E7B
monochromatic
#370A2D #6B1457 #9E1E81 #D128AB #DF57C0
Accessibility & contrast
On white
7.10
#9E1E81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9E1E81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1E81
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1E81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1E81 | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284B84
Deuteranopia (green-blind)
#535F7E
Tritanopia (blue-blind)
#A8244F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1e81; /* rgb */ color: rgb(158, 30, 129); /* oklch */ color: oklch(48.6% 0.190 339.4);
Tailwind
colors: {
custom: {
50: '#bf6aa6',
500: '#9e1e81',
950: '#000000',
},
}SCSS
$custom: #9e1e81; $custom-light: #bf6aa6; $custom-dark: #000000;
JSON
{
"hex": "#9e1e81",
"rgb": {
"r": 158,
"g": 30,
"b": 129
},
"hsl": {
"h": 313.594,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.48604,
"c": 0.18956,
"h": 339.4
},
"luminance": 0.09783
}Semantic roles & 50–950 ramp
primary
#9E1E81
secondary
#55C36E
accent
#EB643D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F