#A564E4#A564E4
#A564E4 is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.1% C 0.191 H 305.0°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A564E4 |
|---|---|
| RGB | rgb(165, 100, 228) |
| HSL | hsl(270, 70%, 64%) |
| HSV | hsv(270, 56%, 89%) |
| CMYK | cmyk(27.6%, 56.1%, 0%, 10.6%) |
| CIE-LAB | lab(54.78, 50.12, -55.36) |
| CIE-LCH | lch(54.78, 74.68, 312.16°) |
| OKLab | oklab(63.14% 0.1093 -0.1561) |
| OKLCH | oklch(63.14% 0.191 305) |
| XYZ | xyz(34.0748, 22.7153, 75.9731) |
| Luminance | 0.2271 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.09
Lightish Purple
#A552E6
ΔE00 4.10
Light Urple
#B36FF6
ΔE00 4.41
Mediumpurple
#9370DB
ΔE00 4.73
Mediumorchid
#BA55D3
ΔE00 6.01
Amethyst
#9B5FC0
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A564E4 #A3E464
analogous
#6564E4 #A564E4 #E464E3
triadic
#A564E4 #E4A564 #64E4A5
tetradic
#A564E4 #E46564 #A3E464 #64E3E4
square
#A564E4 #E46564 #A3E464 #64E3E4
split-complementary
#A564E4 #E3E464 #64E465
monochromatic
#681FAF #8730DB #A564E4 #C398ED #E2CCF6
Accessibility & contrast
On white
3.79
#A564E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#A564E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A564E4
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A564E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A564E4 | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3281E8
Deuteranopia (green-blind)
#4B83E1
Tritanopia (blue-blind)
#9A7D9B
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a564e4; /* rgb */ color: rgb(165, 100, 228); /* oklch */ color: oklch(63.1% 0.191 305.0);
Tailwind
colors: {
custom: {
50: '#c393ed',
500: '#a564e4',
950: '#000000',
},
}SCSS
$custom: #a564e4; $custom-light: #c393ed; $custom-dark: #000000;
JSON
{
"hex": "#a564e4",
"rgb": {
"r": 165,
"g": 100,
"b": 228
},
"hsl": {
"h": 270.469,
"s": 70.33,
"l": 64.314
},
"oklch": {
"l": 0.63136,
"c": 0.19059,
"h": 305
},
"luminance": 0.22715
}Semantic roles & 50–950 ramp
primary
#A564E4
secondary
#D2E8BC
accent
#D21371
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84