#A656E4#A656E4
#A656E4 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.211 H 307.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A656E4 |
|---|---|
| RGB | rgb(166, 86, 228) |
| HSL | hsl(274, 72%, 62%) |
| HSV | hsv(274, 62%, 89%) |
| CMYK | cmyk(27.2%, 62.3%, 0%, 10.6%) |
| CIE-LAB | lab(52.25, 57.45, -59.41) |
| CIE-LCH | lch(52.25, 82.64, 314.04°) |
| OKLab | oklab(61.32% 0.1275 -0.1679) |
| OKLCH | oklch(61.32% 0.211 307.2) |
| XYZ | xyz(33.0543, 20.3644, 75.5731) |
| Luminance | 0.2036 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.95
Lighter Purple
#A55AF4
ΔE00 2.62
Mediumorchid
#BA55D3
ΔE00 5.23
Purpley
#8756E4
ΔE00 5.80
Amethyst
#9B5FC0
ΔE00 5.98
Light Urple
#B36FF6
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A656E4 #94E456
analogous
#5F56E4 #A656E4 #E456DB
triadic
#A656E4 #E4A656 #56E4A6
tetradic
#A656E4 #E45F56 #94E456 #56DBE4
square
#A656E4 #E45F56 #94E456 #56DBE4
split-complementary
#A656E4 #DBE456 #56E45F
monochromatic
#691AA5 #8A23DA #A656E4 #C28BEC #DEC0F5
Accessibility & contrast
On white
4.14
#A656E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#A656E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A656E4
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A656E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A656E4 | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#3B7DE1
Tritanopia (blue-blind)
#9C7395
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a656e4; /* rgb */ color: rgb(166, 86, 228); /* oklch */ color: oklch(61.3% 0.211 307.2);
Tailwind
colors: {
custom: {
50: '#c48aed',
500: '#a656e4',
950: '#000000',
},
}SCSS
$custom: #a656e4; $custom-light: #c48aed; $custom-dark: #000000;
JSON
{
"hex": "#a656e4",
"rgb": {
"r": 166,
"g": 86,
"b": 228
},
"hsl": {
"h": 273.803,
"s": 72.449,
"l": 61.569
},
"oklch": {
"l": 0.61317,
"c": 0.21082,
"h": 307.2
},
"luminance": 0.20364
}Semantic roles & 50–950 ramp
primary
#A656E4
secondary
#C8E5B0
accent
#D51166
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84