#8A5CAA#8A5CAA
#8A5CAA is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.6% C 0.126 H 310.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5CAA |
|---|---|
| RGB | rgb(138, 92, 170) |
| HSL | hsl(275, 31%, 51%) |
| HSV | hsv(275, 46%, 67%) |
| CMYK | cmyk(18.8%, 45.9%, 0%, 33.3%) |
| CIE-LAB | lab(46.92, 33.73, -34.71) |
| CIE-LCH | lch(46.92, 48.40, 314.18°) |
| OKLab | oklab(55.62% 0.0812 -0.0966) |
| OKLCH | oklch(55.62% 0.126 310.1) |
| XYZ | xyz(21.5627, 15.9602, 39.9671) |
| Luminance | 0.1596 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.53
Amethyst
#9B5FC0
ΔE00 4.84
Royal Purple
#7851A9
ΔE00 5.29
Dark Lavender
#856798
ΔE00 6.41
Deep Lilac
#966EBD
ΔE00 6.54
Purply
#983FB2
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5CAA #7CAA5C
analogous
#635CAA #8A5CAA #AA5CA3
triadic
#8A5CAA #AA8A5C #5CAA8A
tetradic
#8A5CAA #AA635C #7CAA5C #5CA3AA
square
#8A5CAA #AA635C #7CAA5C #5CA3AA
split-complementary
#8A5CAA #A3AA5C #5CAA63
monochromatic
#4A305C #6A4584 #8A5CAA #A784BF #C4ACD4
Accessibility & contrast
On white
5.01
#8A5CAA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#8A5CAA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5CAA
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5CAA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5CAA | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A6DAD
Deuteranopia (green-blind)
#5670A8
Tritanopia (blue-blind)
#86687B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8a5caa; /* rgb */ color: rgb(138, 92, 170); /* oklch */ color: oklch(55.6% 0.126 310.1);
Tailwind
colors: {
custom: {
50: '#ae8bc3',
500: '#8a5caa',
950: '#000000',
},
}SCSS
$custom: #8a5caa; $custom-light: #ae8bc3; $custom-dark: #000000;
JSON
{
"hex": "#8a5caa",
"rgb": {
"r": 138,
"g": 92,
"b": 170
},
"hsl": {
"h": 275.385,
"s": 31.452,
"l": 51.373
},
"oklch": {
"l": 0.55624,
"c": 0.12622,
"h": 310.1
},
"luminance": 0.1596
}Semantic roles & 50–950 ramp
primary
#8A5CAA
secondary
#AEC2A0
accent
#C8608B
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C12
muted
#7F7D81