#A757EA#A757EA
#A757EA is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 62.0% C 0.216 H 306.1°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A757EA |
|---|---|
| RGB | rgb(167, 87, 234) |
| HSL | hsl(273, 78%, 63%) |
| HSV | hsv(273, 63%, 92%) |
| CMYK | cmyk(28.6%, 62.8%, 0%, 8.2%) |
| CIE-LAB | lab(52.92, 58.54, -61.70) |
| CIE-LCH | lch(52.92, 85.05, 313.49°) |
| OKLab | oklab(61.95% 0.1273 -0.1746) |
| OKLCH | oklch(61.95% 0.216 306.1) |
| XYZ | xyz(34.1926, 20.9727, 80.0728) |
| Luminance | 0.2097 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.41
Lighter Purple
#A55AF4
ΔE00 1.72
Mediumorchid
#BA55D3
ΔE00 5.68
Purpley
#8756E4
ΔE00 5.93
Light Urple
#B36FF6
ΔE00 6.41
Bright Lilac
#C95EFB
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A757EA #9AEA57
analogous
#5D57EA #A757EA #EA57E4
triadic
#A757EA #EAA757 #57EAA7
tetradic
#A757EA #EA5D57 #9AEA57 #57E4EA
square
#A757EA #EA5D57 #9AEA57 #57E4EA
split-complementary
#A757EA #E4EA57 #57EA5D
monochromatic
#6A16B1 #8B21E3 #A757EA #C38DF1 #E0C4F8
Accessibility & contrast
On white
4.04
#A757EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#A757EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A757EA
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A757EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A757EA | 1.00 | 4.04 | 5.19 | 5.19 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CEF
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#9C7699
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a757ea; /* rgb */ color: rgb(167, 87, 234); /* oklch */ color: oklch(62.0% 0.216 306.1);
Tailwind
colors: {
custom: {
50: '#c58bf1',
500: '#a757ea',
950: '#000000',
},
}SCSS
$custom: #a757ea; $custom-light: #c58bf1; $custom-dark: #000000;
JSON
{
"hex": "#a757ea",
"rgb": {
"r": 167,
"g": 87,
"b": 234
},
"hsl": {
"h": 272.653,
"s": 77.778,
"l": 62.941
},
"oklch": {
"l": 0.6195,
"c": 0.21608,
"h": 306.1
},
"luminance": 0.20972
}Semantic roles & 50–950 ramp
primary
#A757EA
secondary
#CCE9B4
accent
#DA0B6A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85