#A566F6#A566F6
#A566F6 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.6% C 0.208 H 300.9°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A566F6 |
|---|---|
| RGB | rgb(165, 102, 246) |
| HSL | hsl(266, 89%, 68%) |
| HSV | hsv(266, 59%, 96%) |
| CMYK | cmyk(32.9%, 58.5%, 0%, 3.5%) |
| CIE-LAB | lab(56.24, 53.36, -63.06) |
| CIE-LCH | lch(56.24, 82.61, 310.23°) |
| OKLab | oklab(64.55% 0.1069 -0.1787) |
| OKLCH | oklch(64.55% 0.208 300.9) |
| XYZ | xyz(36.8990, 24.1557, 89.8894) |
| Luminance | 0.2416 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.77
Light Urple
#B36FF6
ΔE00 3.48
Mediumpurple
#9370DB
ΔE00 5.29
Lightish Purple
#A552E6
ΔE00 5.34
Easter Purple
#C071FE
ΔE00 5.63
Bright Lavender
#C760FF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A566F6 #B7F666
analogous
#666FF6 #A566F6 #ED66F6
triadic
#A566F6 #F6A566 #66F6A5
tetradic
#A566F6 #F6666F #B7F666 #66F6ED
square
#A566F6 #F6666F #B7F666 #66F6ED
split-complementary
#A566F6 #F6ED66 #6FF666
monochromatic
#640DD5 #832CF3 #A566F6 #C7A0F9 #E9DAFD
Accessibility & contrast
On white
3.60
#A566F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#A566F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A566F6
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A566F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A566F6 | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1786FB
Deuteranopia (green-blind)
#3A86F3
Tritanopia (blue-blind)
#9484A4
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a566f6; /* rgb */ color: rgb(165, 102, 246); /* oklch */ color: oklch(64.6% 0.208 300.9);
Tailwind
colors: {
custom: {
50: '#c494fa',
500: '#a566f6',
950: '#000000',
},
}SCSS
$custom: #a566f6; $custom-light: #c494fa; $custom-dark: #000000;
JSON
{
"hex": "#a566f6",
"rgb": {
"r": 165,
"g": 102,
"b": 246
},
"hsl": {
"h": 266.25,
"s": 88.889,
"l": 68.235
},
"oklch": {
"l": 0.64552,
"c": 0.20827,
"h": 300.9
},
"luminance": 0.24156
}Semantic roles & 50–950 ramp
primary
#A566F6
secondary
#DFF2C6
accent
#E60081
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85