#aa42df ≈ Electric Purple
#aa42df is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 66.67% red, 25.88% green and 87.45% blue; printed in CMYK it uses 23.77% cyan, 70.4% magenta, 0% yellow and 12.55% black. Its hue angle is 279.75°, with 71.04% saturation and 56.67% 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.61:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.12.
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.1777 |
Shades
#aa42df mixed progressively with black.
Tints
#aa42df mixed progressively with white.
Tones
#aa42df mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-aa42df {
color: #aa42df;
}
.bg-aa42df {
background-color: #aa42df;
color: #ffffff;
}
.border-aa42df {
border: 2px solid #aa42df;
}
:root {
--color-primary: #aa42df;
--color-primary-rgb: 170 66 223;
--color-primary-hsl: 280 71% 57%;
}
.gradient-aa42df {
background: linear-gradient(135deg, #aa42df, #df42c5);
}
.shadow-aa42df {
box-shadow: 0 8px 24px rgb(170 66 223 / 0.35);
}
Electric Purple
#aa42df rgb(170, 66, 223) hsl(280, 71%, 57%) Electric Purple
#77df42 rgb(119, 223, 66) hsl(100, 71%, 57%) Lime Green
#dfaa42 rgb(223, 170, 66) hsl(40, 71%, 57%) Goldenrod
#42dfaa rgb(66, 223, 170) hsl(160, 71%, 57%) Caribbean Green