#A658E8#A658E8
#A658E8 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.212 H 306.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A658E8 |
|---|---|
| RGB | rgb(166, 88, 232) |
| HSL | hsl(273, 76%, 63%) |
| HSV | hsv(273, 62%, 91%) |
| CMYK | cmyk(28.4%, 62.1%, 0%, 9%) |
| CIE-LAB | lab(52.85, 57.38, -60.69) |
| CIE-LCH | lch(52.85, 83.52, 313.39°) |
| OKLab | oklab(61.84% 0.125 -0.1717) |
| OKLCH | oklch(61.84% 0.212 306) |
| XYZ | xyz(33.7780, 20.9129, 78.5854) |
| Luminance | 0.2091 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.43
Lighter Purple
#A55AF4
ΔE00 1.87
Mediumorchid
#BA55D3
ΔE00 5.62
Purpley
#8756E4
ΔE00 5.84
Light Urple
#B36FF6
ΔE00 6.40
Amethyst
#9B5FC0
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A658E8 #9AE858
analogous
#5E58E8 #A658E8 #E858E2
triadic
#A658E8 #E8A658 #58E8A6
tetradic
#A658E8 #E85E58 #9AE858 #58E2E8
square
#A658E8 #E85E58 #9AE858 #58E2E8
split-complementary
#A658E8 #E2E858 #58E85E
monochromatic
#6918AE #8922E1 #A658E8 #C38EEF #DFC4F7
Accessibility & contrast
On white
4.05
#A658E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.18
#A658E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A658E8
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A658E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A658E8 | 1.00 | 4.05 | 5.18 | 5.18 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#387FE5
Tritanopia (blue-blind)
#9B7698
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a658e8; /* rgb */ color: rgb(166, 88, 232); /* oklch */ color: oklch(61.8% 0.212 306.0);
Tailwind
colors: {
custom: {
50: '#c58bf0',
500: '#a658e8',
950: '#000000',
},
}SCSS
$custom: #a658e8; $custom-light: #c58bf0; $custom-dark: #000000;
JSON
{
"hex": "#a658e8",
"rgb": {
"r": 166,
"g": 88,
"b": 232
},
"hsl": {
"h": 272.5,
"s": 75.789,
"l": 62.745
},
"oklch": {
"l": 0.61836,
"c": 0.21234,
"h": 306
},
"luminance": 0.20913
}Semantic roles & 50–950 ramp
primary
#A658E8
secondary
#CCE8B4
accent
#D80E6A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85