#b52ae2 ≈ Electric Purple
#b52ae2 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 70.98% red, 16.47% green and 88.63% blue; printed in CMYK it uses 19.91% cyan, 81.42% magenta, 0% yellow and 11.37% black. Its hue angle is 285.33°, with 76.03% saturation and 52.55% lightness in HSL. It sits between warm and cool, and is often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and brand accents. White text on this color reaches a contrast ratio of 4.78:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.63.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1697 |
Shades
#b52ae2 mixed progressively with black.
Tints
#b52ae2 mixed progressively with white.
Tones
#b52ae2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b52ae2 {
color: #b52ae2;
}
.bg-b52ae2 {
background-color: #b52ae2;
color: #ffffff;
}
.border-b52ae2 {
border: 2px solid #b52ae2;
}
:root {
--color-primary: #b52ae2;
--color-primary-rgb: 181 42 226;
--color-primary-hsl: 285 76% 53%;
}
.gradient-b52ae2 {
background: linear-gradient(135deg, #b52ae2, #e22ab3);
}
.shadow-b52ae2 {
box-shadow: 0 8px 24px rgb(181 42 226 / 0.35);
}
Electric Purple
#b52ae2 rgb(181, 42, 226) hsl(285, 76%, 53%) Electric Purple
#57e22a rgb(87, 226, 42) hsl(105, 76%, 53%) Lime Green
#e2b52a rgb(226, 181, 42) hsl(45, 76%, 53%) Meat Brown
#2ae2b5 rgb(42, 226, 181) hsl(165, 76%, 53%) Caribbean Green