#A66CDD#A66CDD
#A66CDD is a light, vivid violet. Relative luminance 0.241; OKLCH L 64.0% C 0.171 H 305.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A66CDD |
|---|---|
| RGB | rgb(166, 108, 221) |
| HSL | hsl(271, 62%, 65%) |
| HSV | hsv(271, 51%, 87%) |
| CMYK | cmyk(24.9%, 51.1%, 0%, 13.3%) |
| CIE-LAB | lab(56.14, 44.46, -49.24) |
| CIE-LCH | lch(56.14, 66.35, 312.08°) |
| OKLab | oklab(64.04% 0.0999 -0.1382) |
| OKLCH | oklch(64.04% 0.171 305.8) |
| XYZ | xyz(34.1369, 24.0528, 71.2369) |
| Luminance | 0.2405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.05
Light Urple
#B36FF6
ΔE00 4.07
Lighter Purple
#A55AF4
ΔE00 5.38
Deep Lilac
#966EBD
ΔE00 5.91
Light Purple
#BF77F6
ΔE00 5.93
Amethyst
#9B5FC0
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A66CDD #A3DD6C
analogous
#6D6CDD #A66CDD #DD6CDC
triadic
#A66CDD #DDA66C #6CDDA6
tetradic
#A66CDD #DD6D6C #A3DD6C #6CDCDD
square
#A66CDD #DD6D6C #A3DD6C #6CDCDD
split-complementary
#A66CDD #DCDD6C #6CDD6D
monochromatic
#6927A8 #883AD2 #A66CDD #C49EE8 #E2CFF4
Accessibility & contrast
On white
3.61
#A66CDD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.81
#A66CDD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A66CDD
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A66CDD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A66CDD | 1.00 | 3.61 | 5.81 | 5.81 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4A85E1
Deuteranopia (green-blind)
#5B87DA
Tritanopia (blue-blind)
#9D809A
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a66cdd; /* rgb */ color: rgb(166, 108, 221); /* oklch */ color: oklch(64.0% 0.171 305.8);
Tailwind
colors: {
custom: {
50: '#c398e8',
500: '#a66cdd',
950: '#000000',
},
}SCSS
$custom: #a66cdd; $custom-light: #c398e8; $custom-dark: #000000;
JSON
{
"hex": "#a66cdd",
"rgb": {
"r": 166,
"g": 108,
"b": 221
},
"hsl": {
"h": 270.796,
"s": 62.431,
"l": 64.51
},
"oklch": {
"l": 0.6404,
"c": 0.17053,
"h": 305.8
},
"luminance": 0.24053
}Semantic roles & 50–950 ramp
primary
#A66CDD
secondary
#D2E6BF
accent
#CA1B70
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84