#a542f3 ≈ Electric Purple
#a542f3 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 95.29% blue; printed in CMYK it uses 32.1% cyan, 72.84% magenta, 0% yellow and 4.71% black. Its hue angle is 273.56°, with 88.06% saturation and 60.59% 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. Black text on this color reaches a contrast ratio of 4.67:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.66.
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.1837 |
Shades
#a542f3 mixed progressively with black.
Tints
#a542f3 mixed progressively with white.
Tones
#a542f3 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-a542f3 {
color: #a542f3;
}
.bg-a542f3 {
background-color: #a542f3;
color: #000000;
}
.border-a542f3 {
border: 2px solid #a542f3;
}
:root {
--color-primary: #a542f3;
--color-primary-rgb: 165 66 243;
--color-primary-hsl: 274 88% 61%;
}
.gradient-a542f3 {
background: linear-gradient(135deg, #a542f3, #f342e8);
}
.shadow-a542f3 {
box-shadow: 0 8px 24px rgb(165 66 243 / 0.35);
}
Electric Purple
#a542f3 rgb(165, 66, 243) hsl(274, 88%, 61%) Electric Purple
#90f342 rgb(144, 243, 66) hsl(94, 88%, 61%) Lawn Green
#f3a542 rgb(243, 165, 66) hsl(34, 88%, 61%) Yellow Orange
#42f3a5 rgb(66, 243, 165) hsl(154, 88%, 61%) Medium Spring Green