#8A5DC0#8A5DC0
#8A5DC0 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.152 H 302.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5DC0 |
|---|---|
| RGB | rgb(138, 93, 192) |
| HSL | hsl(267, 44%, 56%) |
| HSV | hsv(267, 52%, 75%) |
| CMYK | cmyk(28.1%, 51.6%, 0%, 24.7%) |
| CIE-LAB | lab(48.31, 38.44, -45.34) |
| CIE-LCH | lch(48.31, 59.44, 310.29°) |
| OKLab | oklab(57.03% 0.0825 -0.1276) |
| OKLCH | oklch(57.03% 0.152 302.9) |
| XYZ | xyz(23.9079, 17.0378, 51.8880) |
| Luminance | 0.1704 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.08
Amethyst
#9B5FC0
ΔE00 3.85
Royal Purple
#7851A9
ΔE00 5.84
Purpley
#8756E4
ΔE00 6.05
Deep Lilac
#966EBD
ΔE00 6.16
Light Indigo
#6D5ACF
ΔE00 6.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5DC0 #93C05D
analogous
#5D61C0 #8A5DC0 #BB5DC0
triadic
#8A5DC0 #C08A5D #5DC08A
tetradic
#8A5DC0 #C05D61 #93C05D #5DC0BB
square
#8A5DC0 #C05D61 #93C05D #5DC0BB
split-complementary
#8A5DC0 #C0BB5D #61C05D
monochromatic
#4E2E75 #6B3FA1 #8A5DC0 #AA89D1 #CAB5E2
Accessibility & contrast
On white
4.76
#8A5DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#8A5DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8A5DC0
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A5DC0 | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D72C3
Deuteranopia (green-blind)
#4972BE
Tritanopia (blue-blind)
#806F86
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #8a5dc0; /* rgb */ color: rgb(138, 93, 192); /* oklch */ color: oklch(57.0% 0.152 302.9);
Tailwind
colors: {
custom: {
50: '#af8cd3',
500: '#8a5dc0',
950: '#000000',
},
}SCSS
$custom: #8a5dc0; $custom-light: #af8cd3; $custom-dark: #000000;
JSON
{
"hex": "#8a5dc0",
"rgb": {
"r": 138,
"g": 93,
"b": 192
},
"hsl": {
"h": 267.273,
"s": 44,
"l": 55.882
},
"oklch": {
"l": 0.57034,
"c": 0.15189,
"h": 302.9
},
"luminance": 0.17038
}Semantic roles & 50–950 ramp
primary
#8A5DC0
secondary
#BED1A8
accent
#D4549A
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83