#9E1D84#9E1D84
#9E1D84 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.7% C 0.192 H 338.1°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9E1D84 |
|---|---|
| RGB | rgb(158, 29, 132) |
| HSL | hsl(312, 69%, 37%) |
| HSV | hsv(312, 82%, 62%) |
| CMYK | cmyk(0%, 81.6%, 16.5%, 38%) |
| CIE-LAB | lab(37.51, 60.19, -26.39) |
| CIE-LCH | lch(37.51, 65.72, 336.32°) |
| OKLab | oklab(48.69% 0.1785 -0.0717) |
| OKLCH | oklch(48.69% 0.192 338.1) |
| XYZ | xyz(18.7052, 9.8156, 22.7348) |
| Luminance | 0.0981 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.46
Barney Purple
#A00498
ΔE00 4.23
Red Violet
#9E0168
ΔE00 5.96
Darkmagenta
#8B008B
ΔE00 6.09
Light Eggplant
#894585
ΔE00 7.20
Purple
#800080
ΔE00 7.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9E1D84 #1D9E37
analogous
#781D9E #9E1D84 #9E1D44
triadic
#9E1D84 #849E1D #1D849E
tetradic
#9E1D84 #9E781D #1D9E37 #1D449E
square
#9E1D84 #9E781D #1D9E37 #1D449E
split-complementary
#9E1D84 #449E1D #1D9E78
monochromatic
#370A2E #6A1459 #9E1D84 #D226AF #E056C4
Accessibility & contrast
On white
7.09
#9E1D84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#9E1D84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9E1D84
7.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9E1D84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9E1D84 | 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)
#244C87
Deuteranopia (green-blind)
#525F81
Tritanopia (blue-blind)
#A72550
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #9e1d84; /* rgb */ color: rgb(158, 29, 132); /* oklch */ color: oklch(48.7% 0.192 338.1);
Tailwind
colors: {
custom: {
50: '#bf6aa8',
500: '#9e1d84',
950: '#000000',
},
}SCSS
$custom: #9e1d84; $custom-light: #bf6aa8; $custom-dark: #000000;
JSON
{
"hex": "#9e1d84",
"rgb": {
"r": 158,
"g": 29,
"b": 132
},
"hsl": {
"h": 312.093,
"s": 68.984,
"l": 36.667
},
"oklch": {
"l": 0.48693,
"c": 0.19241,
"h": 338.1
},
"luminance": 0.09814
}Semantic roles & 50–950 ramp
primary
#9E1D84
secondary
#54C36A
accent
#EC5F3C
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F