#A666DB#A666DB
#A666DB is a light, vivid violet. Relative luminance 0.227; OKLCH L 63.0% C 0.178 H 307.3°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A666DB |
|---|---|
| RGB | rgb(166, 102, 219) |
| HSL | hsl(273, 62%, 63%) |
| HSV | hsv(273, 53%, 86%) |
| CMYK | cmyk(24.2%, 53.4%, 0%, 14.1%) |
| CIE-LAB | lab(54.79, 47.23, -50.27) |
| CIE-LCH | lch(54.79, 68.97, 313.21°) |
| OKLab | oklab(63.01% 0.1076 -0.1412) |
| OKLCH | oklch(63.01% 0.178 307.3) |
| XYZ | xyz(33.2608, 22.7246, 69.6382) |
| Luminance | 0.2272 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 4.56
Mediumpurple
#9370DB
ΔE00 4.77
Lightish Purple
#A552E6
ΔE00 4.88
Light Urple
#B36FF6
ΔE00 4.91
Amethyst
#9B5FC0
ΔE00 5.03
Mediumorchid
#BA55D3
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A666DB #9BDB66
analogous
#6C66DB #A666DB #DB66D5
triadic
#A666DB #DBA666 #66DBA6
tetradic
#A666DB #DB6C66 #9BDB66 #66D5DB
square
#A666DB #DB6C66 #9BDB66 #66D5DB
split-complementary
#A666DB #D5DB66 #66DB6C
monochromatic
#6926A1 #8934CF #A666DB #C398E7 #E0C9F2
Accessibility & contrast
On white
3.79
#A666DB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#A666DB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A666DB
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A666DB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A666DB | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4181DF
Deuteranopia (green-blind)
#5684D8
Tritanopia (blue-blind)
#9E7B97
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a666db; /* rgb */ color: rgb(166, 102, 219); /* oklch */ color: oklch(63.0% 0.178 307.3);
Tailwind
colors: {
custom: {
50: '#c394e7',
500: '#a666db',
950: '#000000',
},
}SCSS
$custom: #a666db; $custom-light: #c394e7; $custom-dark: #000000;
JSON
{
"hex": "#a666db",
"rgb": {
"r": 166,
"g": 102,
"b": 219
},
"hsl": {
"h": 272.821,
"s": 61.905,
"l": 62.941
},
"oklch": {
"l": 0.63005,
"c": 0.17755,
"h": 307.3
},
"luminance": 0.22724
}Semantic roles & 50–950 ramp
primary
#A666DB
secondary
#CCE3B9
accent
#CA1C6B
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84