#A566DC#A566DC
#A566DC is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.0% C 0.178 H 306.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A566DC |
|---|---|
| RGB | rgb(165, 102, 220) |
| HSL | hsl(272, 63%, 63%) |
| HSV | hsv(272, 54%, 86%) |
| CMYK | cmyk(25%, 53.6%, 0%, 13.7%) |
| CIE-LAB | lab(54.73, 47.20, -50.93) |
| CIE-LCH | lch(54.73, 69.44, 312.82°) |
| OKLab | oklab(62.96% 0.1064 -0.1432) |
| OKLCH | oklch(62.96% 0.178 306.6) |
| XYZ | xyz(33.1840, 22.6697, 70.3238) |
| Luminance | 0.2267 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 4.37
Mediumpurple
#9370DB
ΔE00 4.57
Lightish Purple
#A552E6
ΔE00 4.78
Light Urple
#B36FF6
ΔE00 4.86
Amethyst
#9B5FC0
ΔE00 5.13
Mediumorchid
#BA55D3
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A566DC #9DDC66
analogous
#6A66DC #A566DC #DC66D8
triadic
#A566DC #DCA566 #66DCA5
tetradic
#A566DC #DC6A66 #9DDC66 #66D8DC
square
#A566DC #DC6A66 #9DDC66 #66D8DC
split-complementary
#A566DC #D8DC66 #66DC6A
monochromatic
#6825A2 #8834D1 #A566DC #C298E7 #E0CAF3
Accessibility & contrast
On white
3.79
#A566DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#A566DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A566DC
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A566DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A566DC | 1.00 | 3.79 | 5.53 | 5.53 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4081E0
Deuteranopia (green-blind)
#5483D9
Tritanopia (blue-blind)
#9C7C97
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a566dc; /* rgb */ color: rgb(165, 102, 220); /* oklch */ color: oklch(63.0% 0.178 306.6);
Tailwind
colors: {
custom: {
50: '#c394e7',
500: '#a566dc',
950: '#000000',
},
}SCSS
$custom: #a566dc; $custom-light: #c394e7; $custom-dark: #000000;
JSON
{
"hex": "#a566dc",
"rgb": {
"r": 165,
"g": 102,
"b": 220
},
"hsl": {
"h": 272.034,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.62956,
"c": 0.1784,
"h": 306.6
},
"luminance": 0.22669
}Semantic roles & 50–950 ramp
primary
#A566DC
secondary
#CDE4BA
accent
#CB1B6D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84