#A462DC#A462DC
#A462DC is a light, vivid violet. Relative luminance 0.218; OKLCH L 62.3% C 0.184 H 306.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A462DC |
|---|---|
| RGB | rgb(164, 98, 220) |
| HSL | hsl(272, 64%, 62%) |
| HSV | hsv(272, 55%, 86%) |
| CMYK | cmyk(25.5%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(53.81, 49.07, -52.41) |
| CIE-LCH | lch(53.81, 71.79, 313.12°) |
| OKLab | oklab(62.25% 0.1104 -0.1475) |
| OKLCH | oklch(62.25% 0.184 306.8) |
| XYZ | xyz(32.5931, 21.7955, 70.1862) |
| Luminance | 0.2180 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.79
Lighter Purple
#A55AF4
ΔE00 3.80
Amethyst
#9B5FC0
ΔE00 4.79
Mediumpurple
#9370DB
ΔE00 5.07
Mediumorchid
#BA55D3
ΔE00 5.23
Light Urple
#B36FF6
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A462DC #9ADC62
analogous
#6762DC #A462DC #DC62D7
triadic
#A462DC #DCA462 #62DCA4
tetradic
#A462DC #DC6762 #9ADC62 #62D7DC
square
#A462DC #DC6762 #9ADC62 #62D7DC
split-complementary
#A462DC #D7DC62 #62DC67
monochromatic
#6724A0 #8730D1 #A462DC #C194E7 #DEC6F2
Accessibility & contrast
On white
3.92
#A462DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.36
#A462DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A462DC
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A462DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A462DC | 1.00 | 3.92 | 5.36 | 5.36 |
| #FFFFFF | 3.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#377EE0
Deuteranopia (green-blind)
#4F81D9
Tritanopia (blue-blind)
#9B7996
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #a462dc; /* rgb */ color: rgb(164, 98, 220); /* oklch */ color: oklch(62.3% 0.184 306.8);
Tailwind
colors: {
custom: {
50: '#c291e7',
500: '#a462dc',
950: '#000000',
},
}SCSS
$custom: #a462dc; $custom-light: #c291e7; $custom-dark: #000000;
JSON
{
"hex": "#a462dc",
"rgb": {
"r": 164,
"g": 98,
"b": 220
},
"hsl": {
"h": 272.459,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.62253,
"c": 0.18421,
"h": 306.8
},
"luminance": 0.21795
}Semantic roles & 50–950 ramp
primary
#A462DC
secondary
#CBE3B7
accent
#CB1A6B
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84