#a542e2 ≈ Electric Purple
#a542e2 is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 64.71% red, 25.88% green and 88.63% blue; printed in CMYK it uses 26.99% cyan, 70.8% magenta, 0% yellow and 11.37% black. Its hue angle is 277.13°, with 73.39% saturation and 57.25% 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 brand accents. White text on this color reaches a contrast ratio of 4.69:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.2.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9933cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1739 |
Shades
#a542e2 mixed progressively with black.
Tints
#a542e2 mixed progressively with white.
Tones
#a542e2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a542e2 {
color: #a542e2;
}
.bg-a542e2 {
background-color: #a542e2;
color: #ffffff;
}
.border-a542e2 {
border: 2px solid #a542e2;
}
:root {
--color-primary: #a542e2;
--color-primary-rgb: 165 66 226;
--color-primary-hsl: 277 73% 57%;
}
.gradient-a542e2 {
background: linear-gradient(135deg, #a542e2, #e242cf);
}
.shadow-a542e2 {
box-shadow: 0 8px 24px rgb(165 66 226 / 0.35);
}
Electric Purple
#a542e2 rgb(165, 66, 226) hsl(277, 73%, 57%) Electric Purple
#7fe242 rgb(127, 226, 66) hsl(97, 73%, 57%) Inchworm
#e2a542 rgb(226, 165, 66) hsl(37, 73%, 57%) Indian Yellow
#42e2a5 rgb(66, 226, 165) hsl(157, 73%, 57%) Caribbean Green