#A657E4#A657E4
#A657E4 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.4% C 0.209 H 307.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A657E4 |
|---|---|
| RGB | rgb(166, 87, 228) |
| HSL | hsl(274, 72%, 62%) |
| HSV | hsv(274, 62%, 89%) |
| CMYK | cmyk(27.2%, 61.8%, 0%, 10.6%) |
| CIE-LAB | lab(52.43, 56.96, -59.12) |
| CIE-LCH | lch(52.43, 82.10, 313.93°) |
| OKLab | oklab(61.45% 0.1263 -0.1671) |
| OKLCH | oklch(61.45% 0.209 307.1) |
| XYZ | xyz(33.1347, 20.5252, 75.5999) |
| Luminance | 0.2052 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.15
Lighter Purple
#A55AF4
ΔE00 2.53
Mediumorchid
#BA55D3
ΔE00 5.21
Purpley
#8756E4
ΔE00 5.86
Amethyst
#9B5FC0
ΔE00 5.94
Light Urple
#B36FF6
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A657E4 #95E457
analogous
#6057E4 #A657E4 #E457DC
triadic
#A657E4 #E4A657 #57E4A6
tetradic
#A657E4 #E46057 #95E457 #57DCE4
square
#A657E4 #E46057 #95E457 #57DCE4
split-complementary
#A657E4 #DCE457 #57E460
monochromatic
#691BA6 #8A23DB #A657E4 #C28CEC #DEC0F5
Accessibility & contrast
On white
4.11
#A657E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#A657E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A657E4
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A657E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A657E4 | 1.00 | 4.11 | 5.10 | 5.10 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007AE8
Deuteranopia (green-blind)
#3C7EE1
Tritanopia (blue-blind)
#9C7496
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a657e4; /* rgb */ color: rgb(166, 87, 228); /* oklch */ color: oklch(61.4% 0.209 307.1);
Tailwind
colors: {
custom: {
50: '#c48aed',
500: '#a657e4',
950: '#000000',
},
}SCSS
$custom: #a657e4; $custom-light: #c48aed; $custom-dark: #000000;
JSON
{
"hex": "#a657e4",
"rgb": {
"r": 166,
"g": 87,
"b": 228
},
"hsl": {
"h": 273.617,
"s": 72.308,
"l": 61.765
},
"oklch": {
"l": 0.61447,
"c": 0.20945,
"h": 307.1
},
"luminance": 0.20525
}Semantic roles & 50–950 ramp
primary
#A657E4
secondary
#C8E6B1
accent
#D41167
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84