#A658E4#A658E4
#A658E4 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.6% C 0.208 H 307.0°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A658E4 |
|---|---|
| RGB | rgb(166, 88, 228) |
| HSL | hsl(273, 72%, 62%) |
| HSV | hsv(273, 61%, 89%) |
| CMYK | cmyk(27.2%, 61.4%, 0%, 10.6%) |
| CIE-LAB | lab(52.61, 56.47, -58.83) |
| CIE-LCH | lch(52.61, 81.55, 313.83°) |
| OKLab | oklab(61.58% 0.1251 -0.1662) |
| OKLCH | oklch(61.58% 0.208 307) |
| XYZ | xyz(33.2163, 20.6882, 75.6271) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.36
Lighter Purple
#A55AF4
ΔE00 2.46
Mediumorchid
#BA55D3
ΔE00 5.20
Amethyst
#9B5FC0
ΔE00 5.90
Purpley
#8756E4
ΔE00 5.92
Light Urple
#B36FF6
ΔE00 6.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A658E4 #96E458
analogous
#6058E4 #A658E4 #E458DC
triadic
#A658E4 #E4A658 #58E4A6
tetradic
#A658E4 #E46058 #96E458 #58DCE4
square
#A658E4 #E46058 #96E458 #58DCE4
split-complementary
#A658E4 #DCE458 #58E460
monochromatic
#691BA7 #8A23DB #A658E4 #C28DED #DEC1F5
Accessibility & contrast
On white
4.09
#A658E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#A658E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A658E4
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A658E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A658E4 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#067BE8
Deuteranopia (green-blind)
#3D7EE1
Tritanopia (blue-blind)
#9C7496
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a658e4; /* rgb */ color: rgb(166, 88, 228); /* oklch */ color: oklch(61.6% 0.208 307.0);
Tailwind
colors: {
custom: {
50: '#c48bed',
500: '#a658e4',
950: '#000000',
},
}SCSS
$custom: #a658e4; $custom-light: #c48bed; $custom-dark: #000000;
JSON
{
"hex": "#a658e4",
"rgb": {
"r": 166,
"g": 88,
"b": 228
},
"hsl": {
"h": 273.429,
"s": 72.165,
"l": 61.961
},
"oklch": {
"l": 0.61578,
"c": 0.20807,
"h": 307
},
"luminance": 0.20688
}Semantic roles & 50–950 ramp
primary
#A658E4
secondary
#C9E6B2
accent
#D41168
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84