#b042e2 ≈ Electric Purple
#b042e2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 69.02% red, 25.88% green and 88.63% blue; printed in CMYK it uses 22.12% cyan, 70.8% magenta, 0% yellow and 11.37% black. Its hue angle is 281.25°, with 73.39% saturation and 57.25% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 4.72:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.77.
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.1862 |
Shades
#b042e2 mixed progressively with black.
Tints
#b042e2 mixed progressively with white.
Tones
#b042e2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b042e2 {
color: #b042e2;
}
.bg-b042e2 {
background-color: #b042e2;
color: #000000;
}
.border-b042e2 {
border: 2px solid #b042e2;
}
:root {
--color-primary: #b042e2;
--color-primary-rgb: 176 66 226;
--color-primary-hsl: 281 73% 57%;
}
.gradient-b042e2 {
background: linear-gradient(135deg, #b042e2, #e242c4);
}
.shadow-b042e2 {
box-shadow: 0 8px 24px rgb(176 66 226 / 0.35);
}
Electric Purple
#b042e2 rgb(176, 66, 226) hsl(281, 73%, 57%) Electric Purple
#74e242 rgb(116, 226, 66) hsl(101, 73%, 57%) Lime Green
#e2b042 rgb(226, 176, 66) hsl(41, 73%, 57%) Meat Brown
#42e2b0 rgb(66, 226, 176) hsl(161, 73%, 57%) Caribbean Green