#b042ed ≈ Electric Purple
#b042ed is a color from the violet family, with medium lightness and strong saturation. In the RGB model it is made of 69.02% red, 25.88% green and 92.94% blue; printed in CMYK it uses 25.74% cyan, 72.15% magenta, 0% yellow and 7.06% black. Its hue angle is 278.6°, with 82.61% saturation and 59.41% 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.85:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.2.
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.1924 |
Shades
#b042ed mixed progressively with black.
Tints
#b042ed mixed progressively with white.
Tones
#b042ed mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b042ed {
color: #b042ed;
}
.bg-b042ed {
background-color: #b042ed;
color: #000000;
}
.border-b042ed {
border: 2px solid #b042ed;
}
:root {
--color-primary: #b042ed;
--color-primary-rgb: 176 66 237;
--color-primary-hsl: 279 83% 59%;
}
.gradient-b042ed {
background: linear-gradient(135deg, #b042ed, #ed42d4);
}
.shadow-b042ed {
box-shadow: 0 8px 24px rgb(176 66 237 / 0.35);
}
Electric Purple
#b042ed rgb(176, 66, 237) hsl(279, 83%, 59%) Electric Purple
#7fed42 rgb(127, 237, 66) hsl(99, 83%, 59%) Lawn Green
#edb042 rgb(237, 176, 66) hsl(39, 83%, 59%) Marigold
#42edb0 rgb(66, 237, 176) hsl(159, 83%, 59%) Medium Spring Green