#A562DC#A562DC
#A562DC is a light, vivid violet. Relative luminance 0.219; OKLCH L 62.4% C 0.184 H 307.2°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A562DC |
|---|---|
| RGB | rgb(165, 98, 220) |
| HSL | hsl(273, 64%, 62%) |
| HSV | hsv(273, 55%, 86%) |
| CMYK | cmyk(25%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(53.92, 49.32, -52.22) |
| CIE-LCH | lch(53.92, 71.83, 313.36°) |
| OKLab | oklab(62.36% 0.1116 -0.1469) |
| OKLCH | oklch(62.36% 0.185 307.2) |
| XYZ | xyz(32.8004, 21.9024, 70.1959) |
| Luminance | 0.2190 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.84
Lighter Purple
#A55AF4
ΔE00 3.86
Amethyst
#9B5FC0
ΔE00 4.81
Mediumorchid
#BA55D3
ΔE00 5.07
Mediumpurple
#9370DB
ΔE00 5.19
Light Urple
#B36FF6
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A562DC #99DC62
analogous
#6862DC #A562DC #DC62D6
triadic
#A562DC #DCA562 #62DCA5
tetradic
#A562DC #DC6862 #99DC62 #62D6DC
square
#A562DC #DC6862 #99DC62 #62D6DC
split-complementary
#A562DC #D6DC62 #62DC68
monochromatic
#6824A0 #8830D1 #A562DC #C294E7 #DEC6F2
Accessibility & contrast
On white
3.90
#A562DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#A562DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A562DC
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A562DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A562DC | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#387EE0
Deuteranopia (green-blind)
#5082D9
Tritanopia (blue-blind)
#9D7996
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a562dc; /* rgb */ color: rgb(165, 98, 220); /* oklch */ color: oklch(62.4% 0.184 307.2);
Tailwind
colors: {
custom: {
50: '#c391e7',
500: '#a562dc',
950: '#000000',
},
}SCSS
$custom: #a562dc; $custom-light: #c391e7; $custom-dark: #000000;
JSON
{
"hex": "#a562dc",
"rgb": {
"r": 165,
"g": 98,
"b": 220
},
"hsl": {
"h": 272.951,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.62362,
"c": 0.1845,
"h": 307.2
},
"luminance": 0.21902
}Semantic roles & 50–950 ramp
primary
#A562DC
secondary
#CBE3B7
accent
#CB1A6A
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84