#A566F5#A566F5
#A566F5 is a light, highly saturated violet. Relative luminance 0.241; OKLCH L 64.5% C 0.207 H 301.1°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A566F5 |
|---|---|
| RGB | rgb(165, 102, 245) |
| HSL | hsl(266, 88%, 68%) |
| HSV | hsv(266, 58%, 96%) |
| CMYK | cmyk(32.7%, 58.4%, 0%, 3.9%) |
| CIE-LAB | lab(56.18, 53.11, -62.61) |
| CIE-LCH | lch(56.18, 82.10, 310.31°) |
| OKLab | oklab(64.49% 0.1069 -0.1774) |
| OKLCH | oklch(64.49% 0.207 301.1) |
| XYZ | xyz(36.7459, 24.0945, 89.0833) |
| Luminance | 0.2409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.74
Light Urple
#B36FF6
ΔE00 3.47
Mediumpurple
#9370DB
ΔE00 5.21
Lightish Purple
#A552E6
ΔE00 5.27
Easter Purple
#C071FE
ΔE00 5.63
Bright Lavender
#C760FF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A566F5 #B6F566
analogous
#666EF5 #A566F5 #ED66F5
triadic
#A566F5 #F5A566 #66F5A5
tetradic
#A566F5 #F5666E #B6F566 #66F5ED
square
#A566F5 #F5666E #B6F566 #66F5ED
split-complementary
#A566F5 #F5ED66 #6EF566
monochromatic
#650ED3 #832DF1 #A566F5 #C79FF9 #E9D9FD
Accessibility & contrast
On white
3.61
#A566F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#A566F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A566F5
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A566F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A566F5 | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A86FA
Deuteranopia (green-blind)
#3B86F2
Tritanopia (blue-blind)
#9584A4
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a566f5; /* rgb */ color: rgb(165, 102, 245); /* oklch */ color: oklch(64.5% 0.207 301.1);
Tailwind
colors: {
custom: {
50: '#c494f9',
500: '#a566f5',
950: '#000000',
},
}SCSS
$custom: #a566f5; $custom-light: #c494f9; $custom-dark: #000000;
JSON
{
"hex": "#a566f5",
"rgb": {
"r": 165,
"g": 102,
"b": 245
},
"hsl": {
"h": 266.434,
"s": 87.73,
"l": 68.039
},
"oklch": {
"l": 0.64488,
"c": 0.20713,
"h": 301.1
},
"luminance": 0.24095
}Semantic roles & 50–950 ramp
primary
#A566F5
secondary
#DEF1C6
accent
#E40180
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85