#A566F2#A566F2
#A566F2 is a light, highly saturated violet. Relative luminance 0.239; OKLCH L 64.3% C 0.204 H 301.7°. Best body text is #000000 at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A566F2 |
|---|---|
| RGB | rgb(165, 102, 242) |
| HSL | hsl(267, 84%, 67%) |
| HSV | hsv(267, 58%, 95%) |
| CMYK | cmyk(31.8%, 57.9%, 0%, 5.1%) |
| CIE-LAB | lab(56.00, 52.39, -61.23) |
| CIE-LCH | lch(56.00, 80.58, 310.55°) |
| OKLab | oklab(64.3% 0.107 -0.1733) |
| OKLCH | oklch(64.3% 0.204 301.7) |
| XYZ | xyz(36.2917, 23.9128, 86.6908) |
| Luminance | 0.2391 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.71
Light Urple
#B36FF6
ΔE00 3.46
Mediumpurple
#9370DB
ΔE00 4.99
Lightish Purple
#A552E6
ΔE00 5.06
Easter Purple
#C071FE
ΔE00 5.68
Bright Lavender
#C760FF
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A566F2 #B3F266
analogous
#666DF2 #A566F2 #EB66F2
triadic
#A566F2 #F2A566 #66F2A5
tetradic
#A566F2 #F2666D #B3F266 #66F2EB
square
#A566F2 #F2666D #B3F266 #66F2EB
split-complementary
#A566F2 #F2EB66 #6DF266
monochromatic
#6511CC #842EED #A566F2 #C69EF7 #E7D7FC
Accessibility & contrast
On white
3.63
#A566F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.78
#A566F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A566F2
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A566F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A566F2 | 1.00 | 3.63 | 5.78 | 5.78 |
| #FFFFFF | 3.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2185F7
Deuteranopia (green-blind)
#3F86EF
Tritanopia (blue-blind)
#9683A2
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a566f2; /* rgb */ color: rgb(165, 102, 242); /* oklch */ color: oklch(64.3% 0.204 301.7);
Tailwind
colors: {
custom: {
50: '#c494f7',
500: '#a566f2',
950: '#000000',
},
}SCSS
$custom: #a566f2; $custom-light: #c494f7; $custom-dark: #000000;
JSON
{
"hex": "#a566f2",
"rgb": {
"r": 165,
"g": 102,
"b": 242
},
"hsl": {
"h": 267,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.64297,
"c": 0.2037,
"h": 301.7
},
"luminance": 0.23913
}Semantic roles & 50–950 ramp
primary
#A566F2
secondary
#DCF0C4
accent
#E1057E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85