#A666DF#A666DF
#A666DF is a light, vivid violet. Relative luminance 0.229; OKLCH L 63.2% C 0.182 H 306.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A666DF |
|---|---|
| RGB | rgb(166, 102, 223) |
| HSL | hsl(272, 65%, 64%) |
| HSV | hsv(272, 54%, 87%) |
| CMYK | cmyk(25.6%, 54.3%, 0%, 12.5%) |
| CIE-LAB | lab(55.01, 48.15, -52.17) |
| CIE-LCH | lch(55.01, 70.99, 312.70°) |
| OKLab | oklab(63.24% 0.1078 -0.1468) |
| OKLCH | oklch(63.24% 0.182 306.3) |
| XYZ | xyz(33.7938, 22.9377, 72.4449) |
| Luminance | 0.2294 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 4.05
Light Urple
#B36FF6
ΔE00 4.46
Mediumpurple
#9370DB
ΔE00 4.62
Lightish Purple
#A552E6
ΔE00 4.71
Amethyst
#9B5FC0
ΔE00 5.58
Mediumorchid
#BA55D3
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A666DF #9FDF66
analogous
#6966DF #A666DF #DF66DB
triadic
#A666DF #DFA666 #66DFA6
tetradic
#A666DF #DF6966 #9FDF66 #66DBDF
square
#A666DF #DF6966 #9FDF66 #66DBDF
split-complementary
#A666DF #DBDF66 #66DF69
monochromatic
#6923A8 #8933D4 #A666DF #C399EA #E1CBF4
Accessibility & contrast
On white
3.76
#A666DF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.59
#A666DF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A666DF
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A666DF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A666DF | 1.00 | 3.76 | 5.59 | 5.59 |
| #FFFFFF | 3.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D81E3
Deuteranopia (green-blind)
#5384DC
Tritanopia (blue-blind)
#9D7C99
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a666df; /* rgb */ color: rgb(166, 102, 223); /* oklch */ color: oklch(63.2% 0.182 306.3);
Tailwind
colors: {
custom: {
50: '#c394e9',
500: '#a666df',
950: '#000000',
},
}SCSS
$custom: #a666df; $custom-light: #c394e9; $custom-dark: #000000;
JSON
{
"hex": "#a666df",
"rgb": {
"r": 166,
"g": 102,
"b": 223
},
"hsl": {
"h": 271.736,
"s": 65.405,
"l": 63.725
},
"oklch": {
"l": 0.63239,
"c": 0.18213,
"h": 306.3
},
"luminance": 0.22937
}Semantic roles & 50–950 ramp
primary
#A666DF
secondary
#CFE6BB
accent
#CD186E
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130D16
muted
#827E84