#A566F7#A566F7
#A566F7 is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.6% C 0.209 H 300.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A566F7 |
|---|---|
| RGB | rgb(165, 102, 247) |
| HSL | hsl(266, 90%, 68%) |
| HSV | hsv(266, 59%, 97%) |
| CMYK | cmyk(33.2%, 58.7%, 0%, 3.1%) |
| CIE-LAB | lab(56.30, 53.60, -63.52) |
| CIE-LCH | lch(56.30, 83.11, 310.16°) |
| OKLab | oklab(64.62% 0.1069 -0.1801) |
| OKLCH | oklch(64.62% 0.209 300.7) |
| XYZ | xyz(37.0529, 24.2173, 90.7000) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.81
Light Urple
#B36FF6
ΔE00 3.50
Mediumpurple
#9370DB
ΔE00 5.36
Lightish Purple
#A552E6
ΔE00 5.42
Easter Purple
#C071FE
ΔE00 5.62
Bright Lavender
#C760FF
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A566F7 #B8F766
analogous
#666FF7 #A566F7 #ED66F7
triadic
#A566F7 #F7A566 #66F7A5
tetradic
#A566F7 #F7666F #B8F766 #66F7ED
square
#A566F7 #F7666F #B8F766 #66F7ED
split-complementary
#A566F7 #F7ED66 #6FF766
monochromatic
#640BD7 #832CF4 #A566F7 #C7A0FA #E9DAFD
Accessibility & contrast
On white
3.59
#A566F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#A566F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A566F7
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A566F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A566F7 | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1386FC
Deuteranopia (green-blind)
#3986F4
Tritanopia (blue-blind)
#9484A5
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a566f7; /* rgb */ color: rgb(165, 102, 247); /* oklch */ color: oklch(64.6% 0.209 300.7);
Tailwind
colors: {
custom: {
50: '#c494fb',
500: '#a566f7',
950: '#000000',
},
}SCSS
$custom: #a566f7; $custom-light: #c494fb; $custom-dark: #000000;
JSON
{
"hex": "#a566f7",
"rgb": {
"r": 165,
"g": 102,
"b": 247
},
"hsl": {
"h": 266.069,
"s": 90.062,
"l": 68.431
},
"oklch": {
"l": 0.64617,
"c": 0.20941,
"h": 300.7
},
"luminance": 0.24217
}Semantic roles & 50–950 ramp
primary
#A566F7
secondary
#DFF2C7
accent
#E60082
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130D17
muted
#827E85