#A566EA#A566EA
#A566EA is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.8% C 0.195 H 303.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A566EA |
|---|---|
| RGB | rgb(165, 102, 234) |
| HSL | hsl(269, 76%, 66%) |
| HSV | hsv(269, 56%, 92%) |
| CMYK | cmyk(29.5%, 56.4%, 0%, 8.2%) |
| CIE-LAB | lab(55.53, 50.48, -57.53) |
| CIE-LCH | lch(55.53, 76.53, 311.27°) |
| OKLab | oklab(63.8% 0.1069 -0.1625) |
| OKLCH | oklch(63.8% 0.195 303.4) |
| XYZ | xyz(35.1164, 23.4426, 80.5008) |
| Luminance | 0.2344 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.95
Light Urple
#B36FF6
ΔE00 3.69
Mediumpurple
#9370DB
ΔE00 4.57
Lightish Purple
#A552E6
ΔE00 4.68
Easter Purple
#C071FE
ΔE00 5.94
Bright Lavender
#C760FF
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A566EA #ABEA66
analogous
#6669EA #A566EA #E766EA
triadic
#A566EA #EAA566 #66EAA5
tetradic
#A566EA #EA6669 #ABEA66 #66EAE7
square
#A566EA #EA6669 #ABEA66 #66EAE7
split-complementary
#A566EA #EAE766 #69EA66
monochromatic
#671ABC #8530E3 #A566EA #C59CF1 #E4D2F9
Accessibility & contrast
On white
3.69
#A566EA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#A566EA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A566EA
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A566EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A566EA | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F84EE
Deuteranopia (green-blind)
#4885E7
Tritanopia (blue-blind)
#98809E
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a566ea; /* rgb */ color: rgb(165, 102, 234); /* oklch */ color: oklch(63.8% 0.195 303.4);
Tailwind
colors: {
custom: {
50: '#c394f1',
500: '#a566ea',
950: '#000000',
},
}SCSS
$custom: #a566ea; $custom-light: #c394f1; $custom-dark: #000000;
JSON
{
"hex": "#a566ea",
"rgb": {
"r": 165,
"g": 102,
"b": 234
},
"hsl": {
"h": 268.636,
"s": 75.862,
"l": 65.882
},
"oklch": {
"l": 0.63797,
"c": 0.19451,
"h": 303.4
},
"luminance": 0.23443
}Semantic roles & 50–950 ramp
primary
#A566EA
secondary
#D7ECC0
accent
#D80D77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85