#A262DC#A262DC
#A262DC is a light, vivid violet. Relative luminance 0.216; OKLCH L 62.0% C 0.184 H 306.0°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A262DC |
|---|---|
| RGB | rgb(162, 98, 220) |
| HSL | hsl(271, 64%, 62%) |
| HSV | hsv(271, 55%, 86%) |
| CMYK | cmyk(26.4%, 55.5%, 0%, 13.7%) |
| CIE-LAB | lab(53.58, 48.57, -52.78) |
| CIE-LCH | lch(53.58, 71.73, 312.62°) |
| OKLab | oklab(62.04% 0.1078 -0.1486) |
| OKLCH | oklch(62.04% 0.184 306) |
| XYZ | xyz(32.1835, 21.5843, 70.1670) |
| Luminance | 0.2158 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.72
Lightish Purple
#A552E6
ΔE00 3.73
Amethyst
#9B5FC0
ΔE00 4.76
Mediumpurple
#9370DB
ΔE00 4.84
Mediumorchid
#BA55D3
ΔE00 5.56
Light Urple
#B36FF6
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A262DC #9CDC62
analogous
#6562DC #A262DC #DC62D9
triadic
#A262DC #DCA262 #62DCA2
tetradic
#A262DC #DC6562 #9CDC62 #62D9DC
square
#A262DC #DC6562 #9CDC62 #62D9DC
split-complementary
#A262DC #D9DC62 #62DC65
monochromatic
#6524A0 #8430D1 #A262DC #C094E7 #DDC6F2
Accessibility & contrast
On white
3.95
#A262DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.32
#A262DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A262DC
5.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A262DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A262DC | 1.00 | 3.95 | 5.32 | 5.32 |
| #FFFFFF | 3.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#367EE0
Deuteranopia (green-blind)
#4D80D9
Tritanopia (blue-blind)
#997996
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #a262dc; /* rgb */ color: rgb(162, 98, 220); /* oklch */ color: oklch(62.0% 0.184 306.0);
Tailwind
colors: {
custom: {
50: '#c191e7',
500: '#a262dc',
950: '#000000',
},
}SCSS
$custom: #a262dc; $custom-light: #c191e7; $custom-dark: #000000;
JSON
{
"hex": "#a262dc",
"rgb": {
"r": 162,
"g": 98,
"b": 220
},
"hsl": {
"h": 271.475,
"s": 63.542,
"l": 62.353
},
"oklch": {
"l": 0.62036,
"c": 0.18365,
"h": 306
},
"luminance": 0.21584
}Semantic roles & 50–950 ramp
primary
#A262DC
secondary
#CCE3B7
accent
#CB1A6E
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#130D16
muted
#827E84