#A656E8#A656E8
#A656E8 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.6% C 0.215 H 306.3°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A656E8 |
|---|---|
| RGB | rgb(166, 86, 232) |
| HSL | hsl(273, 76%, 62%) |
| HSV | hsv(273, 63%, 91%) |
| CMYK | cmyk(28.4%, 62.9%, 0%, 9%) |
| CIE-LAB | lab(52.50, 58.35, -61.26) |
| CIE-LCH | lch(52.50, 84.60, 313.61°) |
| OKLab | oklab(61.58% 0.1272 -0.1734) |
| OKLCH | oklch(61.58% 0.215 306.3) |
| XYZ | xyz(33.6160, 20.5891, 78.5314) |
| Luminance | 0.2059 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.00
Lighter Purple
#A55AF4
ΔE00 2.07
Mediumorchid
#BA55D3
ΔE00 5.63
Purpley
#8756E4
ΔE00 5.71
Amethyst
#9B5FC0
ΔE00 6.50
Light Urple
#B36FF6
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A656E8 #98E856
analogous
#5D56E8 #A656E8 #E856E1
triadic
#A656E8 #E8A656 #56E8A6
tetradic
#A656E8 #E85D56 #98E856 #56E1E8
square
#A656E8 #E85D56 #98E856 #56E1E8
split-complementary
#A656E8 #E1E856 #56E85D
monochromatic
#6917AC #8A20E1 #A656E8 #C28CEF #DFC2F7
Accessibility & contrast
On white
4.10
#A656E8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#A656E8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A656E8
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A656E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A656E8 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BED
Deuteranopia (green-blind)
#357EE5
Tritanopia (blue-blind)
#9B7497
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a656e8; /* rgb */ color: rgb(166, 86, 232); /* oklch */ color: oklch(61.6% 0.215 306.3);
Tailwind
colors: {
custom: {
50: '#c58af0',
500: '#a656e8',
950: '#000000',
},
}SCSS
$custom: #a656e8; $custom-light: #c58af0; $custom-dark: #000000;
JSON
{
"hex": "#a656e8",
"rgb": {
"r": 166,
"g": 86,
"b": 232
},
"hsl": {
"h": 272.877,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.61578,
"c": 0.21504,
"h": 306.3
},
"luminance": 0.20589
}Semantic roles & 50–950 ramp
primary
#A656E8
secondary
#CAE8B2
accent
#D80D69
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85