#9E1D82#9E1D82
#9E1D82 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.6% C 0.191 H 339.0°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D82 |
|---|---|
| RGB | rgb(158, 29, 130) |
| HSL | hsl(313, 69%, 37%) |
| HSV | hsv(313, 82%, 62%) |
| CMYK | cmyk(0%, 81.6%, 17.7%, 38%) |
| CIE-LAB | lab(37.41, 59.91, -25.31) |
| CIE-LCH | lch(37.41, 65.04, 337.10°) |
| OKLab | oklab(48.59% 0.1783 -0.0686) |
| OKLCH | oklch(48.59% 0.191 339) |
| XYZ | xyz(18.5697, 9.7614, 22.0209) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.80
Barney Purple
#A00498
ΔE00 4.63
Red Violet
#9E0168
ΔE00 5.57
Darkmagenta
#8B008B
ΔE00 6.35
Light Eggplant
#894585
ΔE00 7.25
Purple
#800080
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D82 #1D9E39
analogous
#7A1D9E #9E1D82 #9E1D42
triadic
#9E1D82 #829E1D #1D829E
tetradic
#9E1D82 #9E7A1D #1D9E39 #1D429E
square
#9E1D82 #9E7A1D #1D9E39 #1D429E
split-complementary
#9E1D82 #429E1D #1D9E7A
monochromatic
#370A2D #6A1457 #9E1D82 #D226AD #E056C2
Accessibility & contrast
On white
7.11
#9E1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#9E1D82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1D82
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D82 | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#264B85
Deuteranopia (green-blind)
#525F7F
Tritanopia (blue-blind)
#A7244F
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1d82; /* rgb */ color: rgb(158, 29, 130); /* oklch */ color: oklch(48.6% 0.191 339.0);
Tailwind
colors: {
custom: {
50: '#bf6aa6',
500: '#9e1d82',
950: '#000000',
},
}SCSS
$custom: #9e1d82; $custom-light: #bf6aa6; $custom-dark: #000000;
JSON
{
"hex": "#9e1d82",
"rgb": {
"r": 158,
"g": 29,
"b": 130
},
"hsl": {
"h": 313.023,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.4859,
"c": 0.19109,
"h": 339
},
"luminance": 0.0976
}Semantic roles & 50–950 ramp
primary
#9E1D82
secondary
#54C36C
accent
#EC623C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F