#A666DC#A666DC
#A666DC is a light, vivid violet. Relative luminance 0.228; OKLCH L 63.1% C 0.179 H 307.1°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #A666DC |
|---|---|
| RGB | rgb(166, 102, 220) |
| HSL | hsl(273, 63%, 63%) |
| HSV | hsv(273, 54%, 86%) |
| CMYK | cmyk(24.5%, 53.6%, 0%, 13.7%) |
| CIE-LAB | lab(54.84, 47.46, -50.75) |
| CIE-LCH | lch(54.84, 69.48, 313.08°) |
| OKLab | oklab(63.06% 0.1077 -0.1426) |
| OKLCH | oklch(63.06% 0.179 307.1) |
| XYZ | xyz(33.3929, 22.7774, 70.3336) |
| Luminance | 0.2278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 4.43
Mediumpurple
#9370DB
ΔE00 4.72
Light Urple
#B36FF6
ΔE00 4.79
Lightish Purple
#A552E6
ΔE00 4.83
Amethyst
#9B5FC0
ΔE00 5.17
Mediumorchid
#BA55D3
ΔE00 5.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A666DC #9CDC66
analogous
#6B66DC #A666DC #DC66D7
triadic
#A666DC #DCA666 #66DCA6
tetradic
#A666DC #DC6B66 #9CDC66 #66D7DC
square
#A666DC #DC6B66 #9CDC66 #66D7DC
split-complementary
#A666DC #D7DC66 #66DC6B
monochromatic
#6925A2 #8934D1 #A666DC #C398E7 #E0CAF3
Accessibility & contrast
On white
3.78
#A666DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#A666DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A666DC
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A666DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A666DC | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4081E0
Deuteranopia (green-blind)
#5584D9
Tritanopia (blue-blind)
#9E7B97
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a666dc; /* rgb */ color: rgb(166, 102, 220); /* oklch */ color: oklch(63.1% 0.179 307.1);
Tailwind
colors: {
custom: {
50: '#c394e7',
500: '#a666dc',
950: '#000000',
},
}SCSS
$custom: #a666dc; $custom-light: #c394e7; $custom-dark: #000000;
JSON
{
"hex": "#a666dc",
"rgb": {
"r": 166,
"g": 102,
"b": 220
},
"hsl": {
"h": 272.542,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.63063,
"c": 0.17869,
"h": 307.1
},
"luminance": 0.22777
}Semantic roles & 50–950 ramp
primary
#A666DC
secondary
#CDE4BA
accent
#CB1B6B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84