#A657F2#A657F2
#A657F2 is a light, highly saturated violet. Relative luminance 0.213; OKLCH L 62.4% C 0.224 H 304.0°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A657F2 |
|---|---|
| RGB | rgb(166, 87, 242) |
| HSL | hsl(271, 86%, 65%) |
| HSV | hsv(271, 64%, 95%) |
| CMYK | cmyk(31.4%, 64%, 0%, 5.1%) |
| CIE-LAB | lab(53.31, 60.15, -65.55) |
| CIE-LCH | lch(53.31, 88.97, 312.54°) |
| OKLab | oklab(62.37% 0.1254 -0.186) |
| OKLCH | oklch(62.37% 0.224 304) |
| XYZ | xyz(35.1575, 21.3343, 86.2529) |
| Luminance | 0.2133 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 0.74
Lightish Purple
#A552E6
ΔE00 2.19
Purpley
#8756E4
ΔE00 5.83
Light Urple
#B36FF6
ΔE00 6.23
Bright Lavender
#C760FF
ΔE00 6.57
Mediumorchid
#BA55D3
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A657F2 #A3F257
analogous
#5957F2 #A657F2 #F257F0
triadic
#A657F2 #F2A657 #57F2A6
tetradic
#A657F2 #F25957 #A3F257 #57F0F2
square
#A657F2 #F25957 #A3F257 #57F0F2
split-complementary
#A657F2 #F0F257 #57F259
monochromatic
#690FC0 #881EEE #A657F2 #C490F6 #E2C9FB
Accessibility & contrast
On white
3.99
#A657F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#A657F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A657F2
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A657F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A657F2 | 1.00 | 3.99 | 5.27 | 5.27 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DF7
Deuteranopia (green-blind)
#267FEF
Tritanopia (blue-blind)
#98799D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a657f2; /* rgb */ color: rgb(166, 87, 242); /* oklch */ color: oklch(62.4% 0.224 304.0);
Tailwind
colors: {
custom: {
50: '#c58bf7',
500: '#a657f2',
950: '#000000',
},
}SCSS
$custom: #a657f2; $custom-light: #c58bf7; $custom-dark: #000000;
JSON
{
"hex": "#a657f2",
"rgb": {
"r": 166,
"g": 87,
"b": 242
},
"hsl": {
"h": 270.581,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.62371,
"c": 0.22431,
"h": 304
},
"luminance": 0.21334
}Semantic roles & 50–950 ramp
primary
#A657F2
secondary
#D2EDB8
accent
#E20371
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#130C17
muted
#827D85