#a042ec ≈ Electric Purple
#a042ec is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 62.75% red, 25.88% green and 92.55% blue; printed in CMYK it uses 32.2% cyan, 72.03% magenta, 0% yellow and 7.45% black. Its hue angle is 273.18°, with 81.73% saturation and 59.22% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. White text on this color reaches a contrast ratio of 4.68:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.24.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1743 |
Shades
#a042ec mixed progressively with black.
Tints
#a042ec mixed progressively with white.
Tones
#a042ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a042ec {
color: #a042ec;
}
.bg-a042ec {
background-color: #a042ec;
color: #ffffff;
}
.border-a042ec {
border: 2px solid #a042ec;
}
:root {
--color-primary: #a042ec;
--color-primary-rgb: 160 66 236;
--color-primary-hsl: 273 82% 59%;
}
.gradient-a042ec {
background: linear-gradient(135deg, #a042ec, #ec42e3);
}
.shadow-a042ec {
box-shadow: 0 8px 24px rgb(160 66 236 / 0.35);
}
Electric Purple
#a042ec rgb(160, 66, 236) hsl(273, 82%, 59%) Electric Purple
#8eec42 rgb(142, 236, 66) hsl(93, 82%, 59%) Lawn Green
#eca042 rgb(236, 160, 66) hsl(33, 82%, 59%) Neon Carrot
#42eca0 rgb(66, 236, 160) hsl(153, 82%, 59%) Medium Spring Green