#A866DC#A866DC
#A866DC is a light, vivid violet. Relative luminance 0.230; OKLCH L 63.3% C 0.179 H 307.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A866DC |
|---|---|
| RGB | rgb(168, 102, 220) |
| HSL | hsl(274, 63%, 63%) |
| HSV | hsv(274, 54%, 86%) |
| CMYK | cmyk(23.6%, 53.6%, 0%, 13.7%) |
| CIE-LAB | lab(55.07, 47.97, -50.37) |
| CIE-LCH | lch(55.07, 69.56, 313.60°) |
| OKLab | oklab(63.28% 0.1102 -0.1415) |
| OKLCH | oklch(63.28% 0.179 307.9) |
| XYZ | xyz(33.8155, 22.9953, 70.3534) |
| Luminance | 0.2299 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 4.58
Light Urple
#B36FF6
ΔE00 4.68
Lightish Purple
#A552E6
ΔE00 4.95
Mediumpurple
#9370DB
ΔE00 5.04
Mediumorchid
#BA55D3
ΔE00 5.15
Amethyst
#9B5FC0
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A866DC #9ADC66
analogous
#6D66DC #A866DC #DC66D5
triadic
#A866DC #DCA866 #66DCA8
tetradic
#A866DC #DC6D66 #9ADC66 #66D5DC
square
#A866DC #DC6D66 #9ADC66 #66D5DC
split-complementary
#A866DC #D5DC66 #66DC6D
monochromatic
#6B25A2 #8C34D1 #A866DC #C498E7 #E1CAF3
Accessibility & contrast
On white
3.75
#A866DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#A866DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A866DC
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A866DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A866DC | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4181E0
Deuteranopia (green-blind)
#5785D9
Tritanopia (blue-blind)
#A07B97
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #a866dc; /* rgb */ color: rgb(168, 102, 220); /* oklch */ color: oklch(63.3% 0.179 307.9);
Tailwind
colors: {
custom: {
50: '#c594e7',
500: '#a866dc',
950: '#000000',
},
}SCSS
$custom: #a866dc; $custom-light: #c594e7; $custom-dark: #000000;
JSON
{
"hex": "#a866dc",
"rgb": {
"r": 168,
"g": 102,
"b": 220
},
"hsl": {
"h": 273.559,
"s": 62.766,
"l": 63.137
},
"oklch": {
"l": 0.63279,
"c": 0.17929,
"h": 307.9
},
"luminance": 0.22995
}Semantic roles & 50–950 ramp
primary
#A866DC
secondary
#CCE4BA
accent
#CB1B68
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#130D16
muted
#827E84