#9E1F86#9E1F86
#9E1F86 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.9% C 0.192 H 337.3°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1F86 |
|---|---|
| RGB | rgb(158, 31, 134) |
| HSL | hsl(311, 67%, 37%) |
| HSV | hsv(311, 80%, 62%) |
| CMYK | cmyk(0%, 80.4%, 15.2%, 38%) |
| CIE-LAB | lab(37.79, 59.95, -27.19) |
| CIE-LCH | lch(37.79, 65.82, 335.60°) |
| OKLab | oklab(48.93% 0.1771 -0.074) |
| OKLCH | oklch(48.93% 0.192 337.3) |
| XYZ | xyz(18.8940, 9.9721, 23.4794) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.09
Barney Purple
#A00498
ΔE00 3.96
Darkmagenta
#8B008B
ΔE00 6.02
Red Violet
#9E0168
ΔE00 6.37
Light Eggplant
#894585
ΔE00 7.00
Ugly Purple
#A442A0
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1F86 #1F9E37
analogous
#771F9E #9E1F86 #9E1F46
triadic
#9E1F86 #869E1F #1F869E
tetradic
#9E1F86 #9E771F #1F9E37 #1F469E
square
#9E1F86 #9E771F #1F9E37 #1F469E
split-complementary
#9E1F86 #469E1F #1F9E77
monochromatic
#380B2F #6B155B #9E1F86 #D129B1 #DE59C5
Accessibility & contrast
On white
7.01
#9E1F86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#9E1F86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1F86
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1F86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1F86 | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244D89
Deuteranopia (green-blind)
#516083
Tritanopia (blue-blind)
#A72852
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #9e1f86; /* rgb */ color: rgb(158, 31, 134); /* oklch */ color: oklch(48.9% 0.192 337.3);
Tailwind
colors: {
custom: {
50: '#bf6ba9',
500: '#9e1f86',
950: '#000000',
},
}SCSS
$custom: #9e1f86; $custom-light: #bf6ba9; $custom-dark: #000000;
JSON
{
"hex": "#9e1f86",
"rgb": {
"r": 158,
"g": 31,
"b": 134
},
"hsl": {
"h": 311.339,
"s": 67.196,
"l": 37.059
},
"oklch": {
"l": 0.48928,
"c": 0.19197,
"h": 337.3
},
"luminance": 0.0997
}Semantic roles & 50–950 ramp
primary
#9E1F86
secondary
#56C26B
accent
#EA5E3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F