#A666E7#A666E7
#A666E7 is a light, vivid violet. Relative luminance 0.234; OKLCH L 63.7% C 0.191 H 304.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A666E7 |
|---|---|
| RGB | rgb(166, 102, 231) |
| HSL | hsl(270, 73%, 65%) |
| HSV | hsv(270, 56%, 91%) |
| CMYK | cmyk(28.1%, 55.8%, 0%, 9.4%) |
| CIE-LAB | lab(55.46, 50.01, -55.94) |
| CIE-LCH | lch(55.46, 75.04, 311.80°) |
| OKLab | oklab(63.72% 0.1081 -0.1578) |
| OKLCH | oklch(63.72% 0.191 304.4) |
| XYZ | xyz(34.8979, 23.3794, 78.2600) |
| Luminance | 0.2338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.22
Light Urple
#B36FF6
ΔE00 3.76
Mediumpurple
#9370DB
ΔE00 4.61
Lightish Purple
#A552E6
ΔE00 4.64
Bright Lavender
#C760FF
ΔE00 5.93
Easter Purple
#C071FE
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A666E7 #A7E766
analogous
#6667E7 #A666E7 #E666E7
triadic
#A666E7 #E7A666 #66E7A6
tetradic
#A666E7 #E76667 #A7E766 #66E7E6
square
#A666E7 #E76667 #A7E766 #66E7E6
split-complementary
#A666E7 #E7E666 #67E766
monochromatic
#691DB6 #8731DF #A666E7 #C59BEF #E4D0F8
Accessibility & contrast
On white
3.70
#A666E7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.68
#A666E7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A666E7
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A666E7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A666E7 | 1.00 | 3.70 | 5.68 | 5.68 |
| #FFFFFF | 3.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3483EB
Deuteranopia (green-blind)
#4C85E4
Tritanopia (blue-blind)
#9B7F9D
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a666e7; /* rgb */ color: rgb(166, 102, 231); /* oklch */ color: oklch(63.7% 0.191 304.4);
Tailwind
colors: {
custom: {
50: '#c494ef',
500: '#a666e7',
950: '#000000',
},
}SCSS
$custom: #a666e7; $custom-light: #c494ef; $custom-dark: #000000;
JSON
{
"hex": "#a666e7",
"rgb": {
"r": 166,
"g": 102,
"b": 231
},
"hsl": {
"h": 269.767,
"s": 72.881,
"l": 65.294
},
"oklch": {
"l": 0.63718,
"c": 0.19131,
"h": 304.4
},
"luminance": 0.23379
}Semantic roles & 50–950 ramp
primary
#A666E7
secondary
#D5EABF
accent
#D51174
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84