#A662DC#A662DC
#A662DC is a light, vivid violet. Relative luminance 0.220; OKLCH L 62.5% C 0.185 H 307.6°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A662DC |
|---|---|
| RGB | rgb(166, 98, 220) |
| HSL | hsl(273, 64%, 62%) |
| HSV | hsv(273, 55%, 86%) |
| CMYK | cmyk(24.5%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(54.04, 49.57, -52.03) |
| CIE-LCH | lch(54.04, 71.86, 313.61°) |
| OKLab | oklab(62.47% 0.1129 -0.1463) |
| OKLCH | oklch(62.47% 0.185 307.6) |
| XYZ | xyz(33.0092, 22.0101, 70.2057) |
| Luminance | 0.2201 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.90
Lighter Purple
#A55AF4
ΔE00 3.92
Amethyst
#9B5FC0
ΔE00 4.84
Mediumorchid
#BA55D3
ΔE00 4.91
Mediumpurple
#9370DB
ΔE00 5.32
Light Urple
#B36FF6
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A662DC #98DC62
analogous
#6962DC #A662DC #DC62D5
triadic
#A662DC #DCA662 #62DCA6
tetradic
#A662DC #DC6962 #98DC62 #62D5DC
square
#A662DC #DC6962 #98DC62 #62D5DC
split-complementary
#A662DC #D5DC62 #62DC69
monochromatic
#6924A0 #8A30D1 #A662DC #C294E7 #DFC6F2
Accessibility & contrast
On white
3.89
#A662DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#A662DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A662DC
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A662DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A662DC | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#387FE0
Deuteranopia (green-blind)
#5182D9
Tritanopia (blue-blind)
#9E7896
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a662dc; /* rgb */ color: rgb(166, 98, 220); /* oklch */ color: oklch(62.5% 0.185 307.6);
Tailwind
colors: {
custom: {
50: '#c391e7',
500: '#a662dc',
950: '#000000',
},
}SCSS
$custom: #a662dc; $custom-light: #c391e7; $custom-dark: #000000;
JSON
{
"hex": "#a662dc",
"rgb": {
"r": 166,
"g": 98,
"b": 220
},
"hsl": {
"h": 273.443,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.62471,
"c": 0.1848,
"h": 307.6
},
"luminance": 0.2201
}Semantic roles & 50–950 ramp
primary
#A662DC
secondary
#CAE3B7
accent
#CB1A69
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84