#A657E5#A657E5
#A657E5 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.5% C 0.211 H 306.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A657E5 |
|---|---|
| RGB | rgb(166, 87, 229) |
| HSL | hsl(273, 73%, 62%) |
| HSV | hsv(273, 62%, 90%) |
| CMYK | cmyk(27.5%, 62%, 0%, 10.2%) |
| CIE-LAB | lab(52.49, 57.19, -59.59) |
| CIE-LCH | lch(52.49, 82.59, 313.82°) |
| OKLab | oklab(61.51% 0.1263 -0.1684) |
| OKLCH | oklch(61.51% 0.211 306.9) |
| XYZ | xyz(33.2740, 20.5809, 76.3332) |
| Luminance | 0.2058 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.14
Lighter Purple
#A55AF4
ΔE00 2.39
Mediumorchid
#BA55D3
ΔE00 5.31
Purpley
#8756E4
ΔE00 5.83
Amethyst
#9B5FC0
ΔE00 6.07
Light Urple
#B36FF6
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A657E5 #96E557
analogous
#5F57E5 #A657E5 #E557DD
triadic
#A657E5 #E5A657 #57E5A6
tetradic
#A657E5 #E55F57 #96E557 #57DDE5
square
#A657E5 #E55F57 #96E557 #57DDE5
split-complementary
#A657E5 #DDE557 #57E55F
monochromatic
#691AA8 #8A22DD #A657E5 #C28CED #DEC1F5
Accessibility & contrast
On white
4.10
#A657E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#A657E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A657E5
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A657E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A657E5 | 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)
#007BE9
Deuteranopia (green-blind)
#3B7EE2
Tritanopia (blue-blind)
#9C7496
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a657e5; /* rgb */ color: rgb(166, 87, 229); /* oklch */ color: oklch(61.5% 0.211 306.9);
Tailwind
colors: {
custom: {
50: '#c48bee',
500: '#a657e5',
950: '#000000',
},
}SCSS
$custom: #a657e5; $custom-light: #c48bee; $custom-dark: #000000;
JSON
{
"hex": "#a657e5",
"rgb": {
"r": 166,
"g": 87,
"b": 229
},
"hsl": {
"h": 273.38,
"s": 73.196,
"l": 61.961
},
"oklch": {
"l": 0.61511,
"c": 0.21051,
"h": 306.9
},
"luminance": 0.20581
}Semantic roles & 50–950 ramp
primary
#A657E5
secondary
#C9E6B2
accent
#D51068
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84