#A566EB#A566EB
#A566EB is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.9% C 0.196 H 303.1°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A566EB |
|---|---|
| RGB | rgb(165, 102, 235) |
| HSL | hsl(268, 77%, 66%) |
| HSV | hsv(268, 57%, 92%) |
| CMYK | cmyk(29.8%, 56.6%, 0%, 7.8%) |
| CIE-LAB | lab(55.58, 50.72, -57.99) |
| CIE-LCH | lch(55.58, 77.04, 311.17°) |
| OKLab | oklab(63.86% 0.107 -0.1638) |
| OKLCH | oklch(63.86% 0.196 303.1) |
| XYZ | xyz(35.2604, 23.5003, 81.2595) |
| Luminance | 0.2350 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.89
Light Urple
#B36FF6
ΔE00 3.64
Mediumpurple
#9370DB
ΔE00 4.61
Lightish Purple
#A552E6
ΔE00 4.71
Easter Purple
#C071FE
ΔE00 5.90
Bright Lavender
#C760FF
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A566EB #ACEB66
analogous
#6669EB #A566EB #E766EB
triadic
#A566EB #EBA566 #66EBA5
tetradic
#A566EB #EB6669 #ACEB66 #66EBE7
square
#A566EB #EB6669 #ACEB66 #66EBE7
split-complementary
#A566EB #EBE766 #69EB66
monochromatic
#6719BE #8530E4 #A566EB #C59CF2 #E5D2F9
Accessibility & contrast
On white
3.68
#A566EB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#A566EB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A566EB
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A566EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A566EB | 1.00 | 3.68 | 5.70 | 5.70 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E84EF
Deuteranopia (green-blind)
#4785E8
Tritanopia (blue-blind)
#98809F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a566eb; /* rgb */ color: rgb(165, 102, 235); /* oklch */ color: oklch(63.9% 0.196 303.1);
Tailwind
colors: {
custom: {
50: '#c394f2',
500: '#a566eb',
950: '#000000',
},
}SCSS
$custom: #a566eb; $custom-light: #c394f2; $custom-dark: #000000;
JSON
{
"hex": "#a566eb",
"rgb": {
"r": 165,
"g": 102,
"b": 235
},
"hsl": {
"h": 268.421,
"s": 76.879,
"l": 66.078
},
"oklch": {
"l": 0.63858,
"c": 0.19567,
"h": 303.1
},
"luminance": 0.235
}Semantic roles & 50–950 ramp
primary
#A566EB
secondary
#D8ECC1
accent
#D90C78
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85