#A658E7#A658E7
#A658E7 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.8% C 0.211 H 306.3°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A658E7 |
|---|---|
| RGB | rgb(166, 88, 231) |
| HSL | hsl(273, 75%, 63%) |
| HSV | hsv(273, 62%, 91%) |
| CMYK | cmyk(28.1%, 61.9%, 0%, 9.4%) |
| CIE-LAB | lab(52.79, 57.15, -60.22) |
| CIE-LCH | lch(52.79, 83.02, 313.50°) |
| OKLab | oklab(61.77% 0.125 -0.1703) |
| OKLCH | oklch(61.77% 0.211 306.3) |
| XYZ | xyz(33.6363, 20.8563, 77.8395) |
| Luminance | 0.2086 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.39
Lighter Purple
#A55AF4
ΔE00 2.02
Mediumorchid
#BA55D3
ΔE00 5.51
Purpley
#8756E4
ΔE00 5.85
Amethyst
#9B5FC0
ΔE00 6.31
Light Urple
#B36FF6
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A658E7 #99E758
analogous
#5E58E7 #A658E7 #E758E1
triadic
#A658E7 #E7A658 #58E7A6
tetradic
#A658E7 #E75E58 #99E758 #58E1E7
square
#A658E7 #E75E58 #99E758 #58E1E7
split-complementary
#A658E7 #E1E758 #58E75E
monochromatic
#6919AC #8922DF #A658E7 #C38EEF #DFC3F6
Accessibility & contrast
On white
4.06
#A658E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#A658E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A658E7
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A658E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A658E7 | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#3A7EE4
Tritanopia (blue-blind)
#9B7598
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a658e7; /* rgb */ color: rgb(166, 88, 231); /* oklch */ color: oklch(61.8% 0.211 306.3);
Tailwind
colors: {
custom: {
50: '#c58bef',
500: '#a658e7',
950: '#000000',
},
}SCSS
$custom: #a658e7; $custom-light: #c58bef; $custom-dark: #000000;
JSON
{
"hex": "#a658e7",
"rgb": {
"r": 166,
"g": 88,
"b": 231
},
"hsl": {
"h": 272.727,
"s": 74.869,
"l": 62.549
},
"oklch": {
"l": 0.61771,
"c": 0.21128,
"h": 306.3
},
"luminance": 0.20856
}Semantic roles & 50–950 ramp
primary
#A658E7
secondary
#CBE7B3
accent
#D70E6A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85