#b52aec ≈ Electric Purple
#b52aec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.98% red, 16.47% green and 92.55% blue; printed in CMYK it uses 23.31% cyan, 82.2% magenta, 0% yellow and 7.45% black. Its hue angle is 282.99°, with 83.62% saturation and 54.51% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 4.66:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.51.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1754 |
Shades
#b52aec mixed progressively with black.
Tints
#b52aec mixed progressively with white.
Tones
#b52aec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b52aec {
color: #b52aec;
}
.bg-b52aec {
background-color: #b52aec;
color: #ffffff;
}
.border-b52aec {
border: 2px solid #b52aec;
}
:root {
--color-primary: #b52aec;
--color-primary-rgb: 181 42 236;
--color-primary-hsl: 283 84% 55%;
}
.gradient-b52aec {
background: linear-gradient(135deg, #b52aec, #ec2ac2);
}
.shadow-b52aec {
box-shadow: 0 8px 24px rgb(181 42 236 / 0.35);
}
Electric Purple
#b52aec rgb(181, 42, 236) hsl(283, 84%, 55%) Electric Purple
#61ec2a rgb(97, 236, 42) hsl(103, 84%, 55%) Harlequin
#ecb52a rgb(236, 181, 42) hsl(43, 84%, 55%) Meat Brown
#2aecb5 rgb(42, 236, 181) hsl(163, 84%, 55%) Aquamarine