#9A1E82#9A1E82
#9A1E82 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 48.0% C 0.188 H 337.6°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1E82 |
|---|---|
| RGB | rgb(154, 30, 130) |
| HSL | hsl(312, 67%, 36%) |
| HSV | hsv(312, 81%, 60%) |
| CMYK | cmyk(0%, 80.5%, 15.6%, 39.6%) |
| CIE-LAB | lab(36.77, 58.74, -26.37) |
| CIE-LCH | lch(36.77, 64.38, 335.82°) |
| OKLab | oklab(47.99% 0.1737 -0.0717) |
| OKLCH | oklch(47.99% 0.188 337.6) |
| XYZ | xyz(17.8204, 9.4120, 21.9930) |
| Luminance | 0.0941 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Warm Purple
#952E8F
ΔE00 3.37
Barney Purple
#A00498
ΔE00 4.34
Darkmagenta
#8B008B
ΔE00 5.63
Red Violet
#9E0168
ΔE00 5.90
Purple
#800080
ΔE00 6.91
Light Eggplant
#894585
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1E82 #1E9A36
analogous
#741E9A #9A1E82 #9A1E44
triadic
#9A1E82 #829A1E #1E829A
tetradic
#9A1E82 #9A741E #1E9A36 #1E449A
square
#9A1E82 #9A741E #1E9A36 #1E449A
split-complementary
#9A1E82 #449A1E #1E9A74
monochromatic
#340A2C #671457 #9A1E82 #CD28AD #DE55C3
Accessibility & contrast
On white
7.29
#9A1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#9A1E82 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1E82
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1E82 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1E82 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234A85
Deuteranopia (green-blind)
#4F5D7F
Tritanopia (blue-blind)
#A3264F
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #9a1e82; /* rgb */ color: rgb(154, 30, 130); /* oklch */ color: oklch(48.0% 0.188 337.6);
Tailwind
colors: {
custom: {
50: '#bc6aa6',
500: '#9a1e82',
950: '#000000',
},
}SCSS
$custom: #9a1e82; $custom-light: #bc6aa6; $custom-dark: #000000;
JSON
{
"hex": "#9a1e82",
"rgb": {
"r": 154,
"g": 30,
"b": 130
},
"hsl": {
"h": 311.613,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.4799,
"c": 0.18797,
"h": 337.6
},
"luminance": 0.0941
}Semantic roles & 50–950 ramp
primary
#9A1E82
secondary
#53C168
accent
#EA5F3E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#12070F
muted
#817A7F