#A666EE#A666EE
#A666EE is a light, vivid violet. Relative luminance 0.238; OKLCH L 64.1% C 0.199 H 302.9°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A666EE |
|---|---|
| RGB | rgb(166, 102, 238) |
| HSL | hsl(268, 80%, 67%) |
| HSV | hsv(268, 57%, 93%) |
| CMYK | cmyk(30.3%, 57.1%, 0%, 6.7%) |
| CIE-LAB | lab(55.87, 51.67, -59.20) |
| CIE-LCH | lch(55.87, 78.58, 311.11°) |
| OKLab | oklab(64.15% 0.1082 -0.1674) |
| OKLCH | oklch(64.15% 0.199 302.9) |
| XYZ | xyz(35.9064, 23.7828, 83.5712) |
| Luminance | 0.2378 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.81
Light Urple
#B36FF6
ΔE00 3.40
Lightish Purple
#A552E6
ΔE00 4.86
Mediumpurple
#9370DB
ΔE00 4.86
Easter Purple
#C071FE
ΔE00 5.64
Bright Lavender
#C760FF
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A666EE #AEEE66
analogous
#666AEE #A666EE #EA66EE
triadic
#A666EE #EEA666 #66EEA6
tetradic
#A666EE #EE666A #AEEE66 #66EEEA
square
#A666EE #EE666A #AEEE66 #66EEEA
split-complementary
#A666EE #EEEA66 #6AEE66
monochromatic
#6816C4 #862FE8 #A666EE #C69DF4 #E6D4FA
Accessibility & contrast
On white
3.65
#A666EE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.76
#A666EE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A666EE
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A666EE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A666EE | 1.00 | 3.65 | 5.76 | 5.76 |
| #FFFFFF | 3.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A85F2
Deuteranopia (green-blind)
#4586EB
Tritanopia (blue-blind)
#9881A0
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a666ee; /* rgb */ color: rgb(166, 102, 238); /* oklch */ color: oklch(64.1% 0.199 302.9);
Tailwind
colors: {
custom: {
50: '#c494f4',
500: '#a666ee',
950: '#000000',
},
}SCSS
$custom: #a666ee; $custom-light: #c494f4; $custom-dark: #000000;
JSON
{
"hex": "#a666ee",
"rgb": {
"r": 166,
"g": 102,
"b": 238
},
"hsl": {
"h": 268.235,
"s": 80,
"l": 66.667
},
"oklch": {
"l": 0.64149,
"c": 0.19932,
"h": 302.9
},
"luminance": 0.23783
}Semantic roles & 50–950 ramp
primary
#A666EE
secondary
#D9EEC2
accent
#DC0979
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130D17
muted
#827E85