#8A55AA#8A55AA
#8A55AA is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.5% C 0.138 H 311.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8A55AA |
|---|---|
| RGB | rgb(138, 85, 170) |
| HSL | hsl(277, 33%, 50%) |
| HSV | hsv(277, 50%, 67%) |
| CMYK | cmyk(18.8%, 50%, 0%, 33.3%) |
| CIE-LAB | lab(45.36, 37.70, -37.17) |
| CIE-LCH | lch(45.36, 52.94, 315.40°) |
| OKLab | oklab(54.46% 0.0914 -0.1037) |
| OKLCH | oklch(54.46% 0.138 311.4) |
| XYZ | xyz(20.9841, 14.8030, 39.7742) |
| Luminance | 0.1480 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.42
Royal Purple
#7851A9
ΔE00 4.24
Amethyst
#9B5FC0
ΔE00 5.49
Purply
#983FB2
ΔE00 5.63
Medium Purple
#9E43A2
ΔE00 6.16
Ugly Purple
#A442A0
ΔE00 7.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A55AA #75AA55
analogous
#6055AA #8A55AA #AA559F
triadic
#8A55AA #AA8A55 #55AA8A
tetradic
#8A55AA #AA6055 #75AA55 #559FAA
square
#8A55AA #AA6055 #75AA55 #559FAA
split-complementary
#8A55AA #9FAA55 #55AA60
monochromatic
#482C58 #694181 #8A55AA #A67EBE #C2A7D3
Accessibility & contrast
On white
5.30
#8A55AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#8A55AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A55AA
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A55AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A55AA | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4069AD
Deuteranopia (green-blind)
#506CA8
Tritanopia (blue-blind)
#866378
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8a55aa; /* rgb */ color: rgb(138, 85, 170); /* oklch */ color: oklch(54.5% 0.138 311.4);
Tailwind
colors: {
custom: {
50: '#ae86c3',
500: '#8a55aa',
950: '#000000',
},
}SCSS
$custom: #8a55aa; $custom-light: #ae86c3; $custom-dark: #000000;
JSON
{
"hex": "#8a55aa",
"rgb": {
"r": 138,
"g": 85,
"b": 170
},
"hsl": {
"h": 277.412,
"s": 33.333,
"l": 50
},
"oklch": {
"l": 0.54462,
"c": 0.13822,
"h": 311.4
},
"luminance": 0.14803
}Semantic roles & 50–950 ramp
primary
#8A55AA
secondary
#A9C09A
accent
#C95E87
background
#FAF8FC
surface
#F5EFF8
border
#CFCAD1
text
#100B12
muted
#7F7C81