#9E1E82#9E1E82
#9E1E82 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.190 H 339.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1E82 |
|---|---|
| RGB | rgb(158, 30, 130) |
| HSL | hsl(313, 68%, 37%) |
| HSV | hsv(313, 81%, 62%) |
| CMYK | cmyk(0%, 81%, 17.7%, 38%) |
| CIE-LAB | lab(37.50, 59.65, -25.17) |
| CIE-LCH | lch(37.50, 64.74, 337.12°) |
| OKLab | oklab(48.66% 0.1776 -0.0682) |
| OKLCH | oklch(48.66% 0.19 339) |
| XYZ | xyz(18.5946, 9.8112, 22.0292) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.78
Barney Purple
#A00498
ΔE00 4.68
Red Violet
#9E0168
ΔE00 5.58
Darkmagenta
#8B008B
ΔE00 6.43
Light Eggplant
#894585
ΔE00 7.17
Ugly Purple
#A442A0
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1E82 #1E9E3A
analogous
#7A1E9E #9E1E82 #9E1E42
triadic
#9E1E82 #829E1E #1E829E
tetradic
#9E1E82 #9E7A1E #1E9E3A #1E429E
square
#9E1E82 #9E7A1E #1E9E3A #1E429E
split-complementary
#9E1E82 #429E1E #1E9E7A
monochromatic
#370A2D #6B1458 #9E1E82 #D128AC #DF57C1
Accessibility & contrast
On white
7.09
#9E1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9E1E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1E82
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1E82 | 1.00 | 7.09 | 2.96 | 7.09 |
| #FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#274C85
Deuteranopia (green-blind)
#535F7F
Tritanopia (blue-blind)
#A7254F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1e82; /* rgb */ color: rgb(158, 30, 130); /* oklch */ color: oklch(48.7% 0.190 339.0);
Tailwind
colors: {
custom: {
50: '#bf6aa6',
500: '#9e1e82',
950: '#000000',
},
}SCSS
$custom: #9e1e82; $custom-light: #bf6aa6; $custom-dark: #000000;
JSON
{
"hex": "#9e1e82",
"rgb": {
"r": 158,
"g": 30,
"b": 130
},
"hsl": {
"h": 313.125,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.48655,
"c": 0.19021,
"h": 339
},
"luminance": 0.09809
}Semantic roles & 50–950 ramp
primary
#9E1E82
secondary
#55C36D
accent
#EB633D
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F