#A656E2#A656E2
#A656E2 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.209 H 307.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A656E2 |
|---|---|
| RGB | rgb(166, 86, 226) |
| HSL | hsl(274, 71%, 61%) |
| HSV | hsv(274, 62%, 89%) |
| CMYK | cmyk(26.5%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(52.12, 57.00, -58.48) |
| CIE-LCH | lch(52.12, 81.66, 314.26°) |
| OKLab | oklab(61.19% 0.1275 -0.1652) |
| OKLCH | oklch(61.19% 0.209 307.7) |
| XYZ | xyz(32.7783, 20.2540, 74.1194) |
| Luminance | 0.2025 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.06
Lighter Purple
#A55AF4
ΔE00 2.91
Mediumorchid
#BA55D3
ΔE00 5.04
Amethyst
#9B5FC0
ΔE00 5.72
Purpley
#8756E4
ΔE00 5.88
Light Urple
#B36FF6
ΔE00 7.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A656E2 #92E256
analogous
#6056E2 #A656E2 #E256D8
triadic
#A656E2 #E2A656 #56E2A6
tetradic
#A656E2 #E26056 #92E256 #56D8E2
square
#A656E2 #E26056 #92E256 #56D8E2
split-complementary
#A656E2 #D8E256 #56E260
monochromatic
#681CA2 #8A25D6 #A656E2 #C28AEB #DDBEF4
Accessibility & contrast
On white
4.16
#A656E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.05
#A656E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A656E2
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A656E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A656E2 | 1.00 | 4.16 | 5.05 | 5.05 |
| #FFFFFF | 4.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0179E6
Deuteranopia (green-blind)
#3D7DDF
Tritanopia (blue-blind)
#9D7294
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a656e2; /* rgb */ color: rgb(166, 86, 226); /* oklch */ color: oklch(61.2% 0.209 307.7);
Tailwind
colors: {
custom: {
50: '#c48aec',
500: '#a656e2',
950: '#000000',
},
}SCSS
$custom: #a656e2; $custom-light: #c48aec; $custom-dark: #000000;
JSON
{
"hex": "#a656e2",
"rgb": {
"r": 166,
"g": 86,
"b": 226
},
"hsl": {
"h": 274.286,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.61188,
"c": 0.2087,
"h": 307.7
},
"luminance": 0.20254
}Semantic roles & 50–950 ramp
primary
#A656E2
secondary
#C6E4B0
accent
#D31365
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84