#8A5ED0#8A5ED0
#8A5ED0 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.2% C 0.170 H 298.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8A5ED0 |
|---|---|
| RGB | rgb(138, 94, 208) |
| HSL | hsl(263, 55%, 59%) |
| HSV | hsv(263, 55%, 82%) |
| CMYK | cmyk(33.7%, 54.8%, 0%, 18.4%) |
| CIE-LAB | lab(49.45, 41.90, -52.72) |
| CIE-LCH | lch(49.45, 67.34, 308.48°) |
| OKLab | oklab(58.18% 0.0821 -0.1492) |
| OKLCH | oklch(58.18% 0.17 298.8) |
| XYZ | xyz(25.8663, 17.9625, 61.7666) |
| Luminance | 0.1796 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.66
Deep Lavender
#8D5EB7
ΔE00 4.73
Amethyst
#9B5FC0
ΔE00 5.24
Mediumpurple
#9370DB
ΔE00 5.74
Lightish Purple
#A552E6
ΔE00 5.77
Light Indigo
#6D5ACF
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A5ED0 #A4D05E
analogous
#5E6BD0 #8A5ED0 #C35ED0
triadic
#8A5ED0 #D08A5E #5ED08A
tetradic
#8A5ED0 #D05E6B #A4D05E #5ED0C3
square
#8A5ED0 #D05E6B #A4D05E #5ED0C3
split-complementary
#8A5ED0 #D0C35E #6BD05E
monochromatic
#4F298B #6936BA #8A5ED0 #AC8DDE #CFBDEC
Accessibility & contrast
On white
4.57
#8A5ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#8A5ED0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A5ED0
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A5ED0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A5ED0 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E76D4
Deuteranopia (green-blind)
#3C75CD
Tritanopia (blue-blind)
#7B758E
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #8a5ed0; /* rgb */ color: rgb(138, 94, 208); /* oklch */ color: oklch(58.2% 0.170 298.8);
Tailwind
colors: {
custom: {
50: '#b08ddf',
500: '#8a5ed0',
950: '#000000',
},
}SCSS
$custom: #8a5ed0; $custom-light: #b08ddf; $custom-dark: #000000;
JSON
{
"hex": "#8a5ed0",
"rgb": {
"r": 138,
"g": 94,
"b": 208
},
"hsl": {
"h": 263.158,
"s": 54.808,
"l": 59.216
},
"oklch": {
"l": 0.58178,
"c": 0.17024,
"h": 298.8
},
"luminance": 0.17963
}Semantic roles & 50–950 ramp
primary
#8A5ED0
secondary
#CADBAF
accent
#DE4AA5
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83