#A566E7#A566E7
#A566E7 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.6% C 0.191 H 304.0°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #A566E7 |
|---|---|
| RGB | rgb(165, 102, 231) |
| HSL | hsl(269, 73%, 65%) |
| HSV | hsv(269, 56%, 91%) |
| CMYK | cmyk(28.6%, 55.8%, 0%, 9.4%) |
| CIE-LAB | lab(55.35, 49.77, -56.13) |
| CIE-LCH | lch(55.35, 75.01, 311.56°) |
| OKLab | oklab(63.61% 0.1069 -0.1584) |
| OKLCH | oklch(63.61% 0.191 304) |
| XYZ | xyz(34.6890, 23.2717, 78.2502) |
| Luminance | 0.2327 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.17
Light Urple
#B36FF6
ΔE00 3.87
Mediumpurple
#9370DB
ΔE00 4.48
Lightish Purple
#A552E6
ΔE00 4.61
Bright Lavender
#C760FF
ΔE00 6.08
Easter Purple
#C071FE
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A566E7 #A8E766
analogous
#6668E7 #A566E7 #E566E7
triadic
#A566E7 #E7A566 #66E7A5
tetradic
#A566E7 #E76668 #A8E766 #66E7E5
square
#A566E7 #E76668 #A8E766 #66E7E5
split-complementary
#A566E7 #E7E566 #68E766
monochromatic
#681DB6 #8631DF #A566E7 #C49BEF #E3D0F8
Accessibility & contrast
On white
3.71
#A566E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#A566E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A566E7
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A566E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A566E7 | 1.00 | 3.71 | 5.65 | 5.65 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3383EB
Deuteranopia (green-blind)
#4B84E4
Tritanopia (blue-blind)
#997F9D
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a566e7; /* rgb */ color: rgb(165, 102, 231); /* oklch */ color: oklch(63.6% 0.191 304.0);
Tailwind
colors: {
custom: {
50: '#c394ef',
500: '#a566e7',
950: '#000000',
},
}SCSS
$custom: #a566e7; $custom-light: #c394ef; $custom-dark: #000000;
JSON
{
"hex": "#a566e7",
"rgb": {
"r": 165,
"g": 102,
"b": 231
},
"hsl": {
"h": 269.302,
"s": 72.881,
"l": 65.294
},
"oklch": {
"l": 0.63613,
"c": 0.19107,
"h": 304
},
"luminance": 0.23272
}Semantic roles & 50–950 ramp
primary
#A566E7
secondary
#D5EABF
accent
#D51175
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84