#8A5AB3#8A5AB3
#8A5AB3 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 55.8% C 0.141 H 307.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5AB3 |
|---|---|
| RGB | rgb(138, 90, 179) |
| HSL | hsl(272, 37%, 53%) |
| HSV | hsv(272, 50%, 70%) |
| CMYK | cmyk(22.9%, 49.7%, 0%, 29.8%) |
| CIE-LAB | lab(46.94, 36.98, -39.97) |
| CIE-LCH | lch(46.94, 54.45, 312.78°) |
| OKLab | oklab(55.79% 0.0853 -0.1119) |
| OKLCH | oklch(55.79% 0.141 307.3) |
| XYZ | xyz(22.2725, 15.9705, 44.5484) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 1.43
Amethyst
#9B5FC0
ΔE00 4.13
Royal Purple
#7851A9
ΔE00 4.61
Deep Lilac
#966EBD
ΔE00 6.71
Purply
#983FB2
ΔE00 6.83
Medium Purple
#9E43A2
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5AB3 #83B35A
analogous
#5E5AB3 #8A5AB3 #B35AAF
triadic
#8A5AB3 #B38A5A #5AB38A
tetradic
#8A5AB3 #B35E5A #83B35A #5AAFB3
square
#8A5AB3 #B35E5A #83B35A #5AAFB3
split-complementary
#8A5AB3 #AFB35A #5AB35E
monochromatic
#4B2E64 #6B428E #8A5AB3 #A884C6 #C5AEDA
Accessibility & contrast
On white
5.01
#8A5AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#8A5AB3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5AB3
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5AB3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5AB3 | 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)
#426DB6
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#84697E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #8a5ab3; /* rgb */ color: rgb(138, 90, 179); /* oklch */ color: oklch(55.8% 0.141 307.3);
Tailwind
colors: {
custom: {
50: '#ae8aca',
500: '#8a5ab3',
950: '#000000',
},
}SCSS
$custom: #8a5ab3; $custom-light: #ae8aca; $custom-dark: #000000;
JSON
{
"hex": "#8a5ab3",
"rgb": {
"r": 138,
"g": 90,
"b": 179
},
"hsl": {
"h": 272.36,
"s": 36.929,
"l": 52.745
},
"oklch": {
"l": 0.55785,
"c": 0.14069,
"h": 307.3
},
"luminance": 0.1597
}Semantic roles & 50–950 ramp
primary
#8A5AB3
secondary
#B3C8A1
accent
#CD5B8F
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82