#9A1E84#9A1E84
#9A1E84 is a mid, vivid pink. Relative luminance 0.095; OKLCH L 48.1% C 0.189 H 336.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1E84 |
|---|---|
| RGB | rgb(154, 30, 132) |
| HSL | hsl(311, 67%, 36%) |
| HSV | hsv(311, 81%, 60%) |
| CMYK | cmyk(0%, 80.5%, 14.3%, 39.6%) |
| CIE-LAB | lab(36.87, 59.02, -27.45) |
| CIE-LCH | lch(36.87, 65.10, 335.06°) |
| OKLab | oklab(48.1% 0.1739 -0.0748) |
| OKLCH | oklch(48.1% 0.189 336.7) |
| XYZ | xyz(17.9559, 9.4662, 22.7068) |
| Luminance | 0.0946 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.04
Barney Purple
#A00498
ΔE00 3.95
Darkmagenta
#8B008B
ΔE00 5.36
Red Violet
#9E0168
ΔE00 6.30
Purple
#800080
ΔE00 6.75
Light Eggplant
#894585
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1E84 #1E9A34
analogous
#721E9A #9A1E84 #9A1E46
triadic
#9A1E84 #849A1E #1E849A
tetradic
#9A1E84 #9A721E #1E9A34 #1E469A
square
#9A1E84 #9A721E #1E9A34 #1E469A
split-complementary
#9A1E84 #469A1E #1E9A72
monochromatic
#340A2C #671458 #9A1E84 #CD28B0 #DE55C5
Accessibility & contrast
On white
7.26
#9A1E84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#9A1E84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1E84
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1E84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1E84 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224B87
Deuteranopia (green-blind)
#4F5D81
Tritanopia (blue-blind)
#A22850
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9a1e84; /* rgb */ color: rgb(154, 30, 132); /* oklch */ color: oklch(48.1% 0.189 336.7);
Tailwind
colors: {
custom: {
50: '#bc6aa8',
500: '#9a1e84',
950: '#000000',
},
}SCSS
$custom: #9a1e84; $custom-light: #bc6aa8; $custom-dark: #000000;
JSON
{
"hex": "#9a1e84",
"rgb": {
"r": 154,
"g": 30,
"b": 132
},
"hsl": {
"h": 310.645,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.48095,
"c": 0.18932,
"h": 336.7
},
"luminance": 0.09465
}Semantic roles & 50–950 ramp
primary
#9A1E84
secondary
#53C166
accent
#EA5C3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F