#A666EC#A666EC
#A666EC is a light, vivid violet. Relative luminance 0.237; OKLCH L 64.0% C 0.197 H 303.3°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A666EC |
|---|---|
| RGB | rgb(166, 102, 236) |
| HSL | hsl(269, 78%, 66%) |
| HSV | hsv(269, 57%, 93%) |
| CMYK | cmyk(29.7%, 56.8%, 0%, 7.5%) |
| CIE-LAB | lab(55.75, 51.19, -58.28) |
| CIE-LCH | lch(55.75, 77.57, 311.30°) |
| OKLab | oklab(64.03% 0.1082 -0.1646) |
| OKLCH | oklch(64.03% 0.197 303.3) |
| XYZ | xyz(35.6142, 23.6659, 82.0323) |
| Luminance | 0.2367 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.89
Light Urple
#B36FF6
ΔE00 3.48
Mediumpurple
#9370DB
ΔE00 4.77
Lightish Purple
#A552E6
ΔE00 4.77
Easter Purple
#C071FE
ΔE00 5.71
Bright Lavender
#C760FF
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A666EC #ACEC66
analogous
#6669EC #A666EC #E966EC
triadic
#A666EC #ECA666 #66ECA6
tetradic
#A666EC #EC6669 #ACEC66 #66ECE9
square
#A666EC #EC6669 #ACEC66 #66ECE9
split-complementary
#A666EC #ECE966 #69EC66
monochromatic
#6818C0 #8630E5 #A666EC #C69CF3 #E5D3FA
Accessibility & contrast
On white
3.66
#A666EC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.73
#A666EC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A666EC
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A666EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A666EC | 1.00 | 3.66 | 5.73 | 5.73 |
| #FFFFFF | 3.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D84F0
Deuteranopia (green-blind)
#4785E9
Tritanopia (blue-blind)
#99809F
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #a666ec; /* rgb */ color: rgb(166, 102, 236); /* oklch */ color: oklch(64.0% 0.197 303.3);
Tailwind
colors: {
custom: {
50: '#c494f3',
500: '#a666ec',
950: '#000000',
},
}SCSS
$custom: #a666ec; $custom-light: #c494f3; $custom-dark: #000000;
JSON
{
"hex": "#a666ec",
"rgb": {
"r": 166,
"g": 102,
"b": 236
},
"hsl": {
"h": 268.657,
"s": 77.907,
"l": 66.275
},
"oklch": {
"l": 0.64025,
"c": 0.19703,
"h": 303.3
},
"luminance": 0.23666
}Semantic roles & 50–950 ramp
primary
#A666EC
secondary
#D8EDC1
accent
#DA0B77
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D17
muted
#827E85