#A666E6#A666E6
#A666E6 is a light, vivid violet. Relative luminance 0.233; OKLCH L 63.7% C 0.190 H 304.6°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A666E6 |
|---|---|
| RGB | rgb(166, 102, 230) |
| HSL | hsl(270, 72%, 65%) |
| HSV | hsv(270, 56%, 90%) |
| CMYK | cmyk(27.8%, 55.7%, 0%, 9.8%) |
| CIE-LAB | lab(55.40, 49.78, -55.48) |
| CIE-LCH | lch(55.40, 74.53, 311.90°) |
| OKLab | oklab(63.66% 0.1081 -0.1564) |
| OKLCH | oklch(63.66% 0.19 304.6) |
| XYZ | xyz(34.7571, 23.3231, 77.5183) |
| Luminance | 0.2332 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.31
Light Urple
#B36FF6
ΔE00 3.83
Mediumpurple
#9370DB
ΔE00 4.59
Lightish Purple
#A552E6
ΔE00 4.63
Bright Lavender
#C760FF
ΔE00 5.98
Easter Purple
#C071FE
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A666E6 #A6E666
analogous
#6666E6 #A666E6 #E666E6
triadic
#A666E6 #E6A666 #66E6A6
tetradic
#A666E6 #E66666 #A6E666 #66E6E6
square
#A666E6 #E66666 #A6E666 #66E6E6
split-complementary
#A666E6 #E6E666 #66E666
monochromatic
#691DB4 #8731DD #A666E6 #C59BEF #E3CFF7
Accessibility & contrast
On white
3.71
#A666E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.66
#A666E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A666E6
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A666E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A666E6 | 1.00 | 3.71 | 5.66 | 5.66 |
| #FFFFFF | 3.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3583EA
Deuteranopia (green-blind)
#4D85E3
Tritanopia (blue-blind)
#9B7F9C
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a666e6; /* rgb */ color: rgb(166, 102, 230); /* oklch */ color: oklch(63.7% 0.190 304.6);
Tailwind
colors: {
custom: {
50: '#c494ee',
500: '#a666e6',
950: '#000000',
},
}SCSS
$custom: #a666e6; $custom-light: #c494ee; $custom-dark: #000000;
JSON
{
"hex": "#a666e6",
"rgb": {
"r": 166,
"g": 102,
"b": 230
},
"hsl": {
"h": 270,
"s": 71.91,
"l": 65.098
},
"oklch": {
"l": 0.63657,
"c": 0.19016,
"h": 304.6
},
"luminance": 0.23323
}Semantic roles & 50–950 ramp
primary
#A666E6
secondary
#D4EABE
accent
#D41273
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84