#A656E5#A656E5
#A656E5 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.4% C 0.212 H 307.0°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A656E5 |
|---|---|
| RGB | rgb(166, 86, 229) |
| HSL | hsl(274, 73%, 62%) |
| HSV | hsv(274, 62%, 90%) |
| CMYK | cmyk(27.5%, 62.4%, 0%, 10.2%) |
| CIE-LAB | lab(52.31, 57.67, -59.88) |
| CIE-LCH | lch(52.31, 83.13, 313.93°) |
| OKLab | oklab(61.38% 0.1274 -0.1693) |
| OKLCH | oklch(61.38% 0.212 307) |
| XYZ | xyz(33.1936, 20.4201, 76.3064) |
| Luminance | 0.2042 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.93
Lighter Purple
#A55AF4
ΔE00 2.48
Mediumorchid
#BA55D3
ΔE00 5.33
Purpley
#8756E4
ΔE00 5.77
Amethyst
#9B5FC0
ΔE00 6.11
Light Urple
#B36FF6
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A656E5 #95E556
analogous
#5F56E5 #A656E5 #E556DD
triadic
#A656E5 #E5A656 #56E5A6
tetradic
#A656E5 #E55F56 #95E556 #56DDE5
square
#A656E5 #E55F56 #95E556 #56DDE5
split-complementary
#A656E5 #DDE556 #56E55F
monochromatic
#691AA7 #8A22DC #A656E5 #C28BED #DEC0F5
Accessibility & contrast
On white
4.13
#A656E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.08
#A656E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A656E5
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A656E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A656E5 | 1.00 | 4.13 | 5.08 | 5.08 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AE9
Deuteranopia (green-blind)
#397DE2
Tritanopia (blue-blind)
#9C7396
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a656e5; /* rgb */ color: rgb(166, 86, 229); /* oklch */ color: oklch(61.4% 0.212 307.0);
Tailwind
colors: {
custom: {
50: '#c58aee',
500: '#a656e5',
950: '#000000',
},
}SCSS
$custom: #a656e5; $custom-light: #c58aee; $custom-dark: #000000;
JSON
{
"hex": "#a656e5",
"rgb": {
"r": 166,
"g": 86,
"b": 229
},
"hsl": {
"h": 273.566,
"s": 73.333,
"l": 61.765
},
"oklch": {
"l": 0.61382,
"c": 0.21187,
"h": 307
},
"luminance": 0.2042
}Semantic roles & 50–950 ramp
primary
#A656E5
secondary
#C8E6B1
accent
#D51067
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84