#9A1E86#9A1E86
#9A1E86 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.2% C 0.191 H 335.9°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #9A1E86 |
|---|---|
| RGB | rgb(154, 30, 134) |
| HSL | hsl(310, 67%, 36%) |
| HSV | hsv(310, 81%, 60%) |
| CMYK | cmyk(0%, 80.5%, 13%, 39.6%) |
| CIE-LAB | lab(36.97, 59.31, -28.53) |
| CIE-LCH | lch(36.97, 65.82, 334.31°) |
| OKLab | oklab(48.2% 0.1741 -0.0779) |
| OKLCH | oklch(48.2% 0.191 335.9) |
| XYZ | xyz(18.0941, 9.5215, 23.4345) |
| Luminance | 0.0952 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.74
Barney Purple
#A00498
ΔE00 3.57
Darkmagenta
#8B008B
ΔE00 5.12
Purple
#800080
ΔE00 6.63
Red Violet
#9E0168
ΔE00 6.69
Light Eggplant
#894585
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A1E86 #1E9A32
analogous
#701E9A #9A1E86 #9A1E48
triadic
#9A1E86 #869A1E #1E869A
tetradic
#9A1E86 #9A701E #1E9A32 #1E489A
square
#9A1E86 #9A701E #1E9A32 #1E489A
split-complementary
#9A1E86 #489A1E #1E9A70
monochromatic
#340A2D #671459 #9A1E86 #CD28B3 #DE55C8
Accessibility & contrast
On white
7.23
#9A1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#9A1E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #9A1E86
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A1E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A1E86 | 1.00 | 7.23 | 2.90 | 7.23 |
| #FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#4E5D83
Tritanopia (blue-blind)
#A22951
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #9a1e86; /* rgb */ color: rgb(154, 30, 134); /* oklch */ color: oklch(48.2% 0.191 335.9);
Tailwind
colors: {
custom: {
50: '#bc6aa9',
500: '#9a1e86',
950: '#000000',
},
}SCSS
$custom: #9a1e86; $custom-light: #bc6aa9; $custom-dark: #000000;
JSON
{
"hex": "#9a1e86",
"rgb": {
"r": 154,
"g": 30,
"b": 134
},
"hsl": {
"h": 309.677,
"s": 67.391,
"l": 36.078
},
"oklch": {
"l": 0.48202,
"c": 0.1907,
"h": 335.9
},
"luminance": 0.0952
}Semantic roles & 50–950 ramp
primary
#9A1E86
secondary
#53C164
accent
#EA593E
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#120710
muted
#817A7F