#A566F9#A566F9
#A566F9 is a light, highly saturated violet. Relative luminance 0.243; OKLCH L 64.7% C 0.212 H 300.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A566F9 |
|---|---|
| RGB | rgb(165, 102, 249) |
| HSL | hsl(266, 92%, 69%) |
| HSV | hsv(266, 59%, 98%) |
| CMYK | cmyk(33.7%, 59%, 0%, 2.4%) |
| CIE-LAB | lab(56.43, 54.08, -64.43) |
| CIE-LCH | lch(56.43, 84.12, 310.01°) |
| OKLab | oklab(64.75% 0.1069 -0.1827) |
| OKLCH | oklch(64.75% 0.212 300.3) |
| XYZ | xyz(37.3632, 24.3414, 92.3341) |
| Luminance | 0.2434 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.90
Light Urple
#B36FF6
ΔE00 3.55
Mediumpurple
#9370DB
ΔE00 5.53
Lightish Purple
#A552E6
ΔE00 5.57
Easter Purple
#C071FE
ΔE00 5.62
Bright Lavender
#C760FF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A566F9 #BAF966
analogous
#6671F9 #A566F9 #EE66F9
triadic
#A566F9 #F9A566 #66F9A5
tetradic
#A566F9 #F96671 #BAF966 #66F9EE
square
#A566F9 #F96671 #BAF966 #66F9EE
split-complementary
#A566F9 #F9EE66 #71F966
monochromatic
#6309DC #822BF7 #A566F9 #C8A1FB #EADCFE
Accessibility & contrast
On white
3.58
#A566F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#A566F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A566F9
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A566F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A566F9 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A87FE
Deuteranopia (green-blind)
#3686F6
Tritanopia (blue-blind)
#9385A6
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a566f9; /* rgb */ color: rgb(165, 102, 249); /* oklch */ color: oklch(64.7% 0.212 300.3);
Tailwind
colors: {
custom: {
50: '#c494fc',
500: '#a566f9',
950: '#000000',
},
}SCSS
$custom: #a566f9; $custom-light: #c494fc; $custom-dark: #000000;
JSON
{
"hex": "#a566f9",
"rgb": {
"r": 165,
"g": 102,
"b": 249
},
"hsl": {
"h": 265.714,
"s": 92.453,
"l": 68.824
},
"oklch": {
"l": 0.64746,
"c": 0.21169,
"h": 300.3
},
"luminance": 0.24342
}Semantic roles & 50–950 ramp
primary
#A566F9
secondary
#E1F3C8
accent
#E60083
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D18
muted
#827E86