#b504ec ≈ Electric Purple
#b504ec is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.98% red, 1.57% green and 92.55% blue; printed in CMYK it uses 23.31% cyan, 98.31% magenta, 0% yellow and 7.45% black. Its hue angle is 285.78°, with 96.67% saturation and 47.06% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 5.01:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.18.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1597 |
Shades
#b504ec mixed progressively with black.
Tints
#b504ec mixed progressively with white.
Tones
#b504ec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b504ec {
color: #b504ec;
}
.bg-b504ec {
background-color: #b504ec;
color: #ffffff;
}
.border-b504ec {
border: 2px solid #b504ec;
}
:root {
--color-primary: #b504ec;
--color-primary-rgb: 181 4 236;
--color-primary-hsl: 286 97% 47%;
}
.gradient-b504ec {
background: linear-gradient(135deg, #b504ec, #ec04af);
}
.shadow-b504ec {
box-shadow: 0 8px 24px rgb(181 4 236 / 0.35);
}
Electric Purple
#b504ec rgb(181, 4, 236) hsl(286, 97%, 47%) Electric Purple
#3bec04 rgb(59, 236, 4) hsl(106, 97%, 47%) Neon Green
#ecb504 rgb(236, 181, 4) hsl(46, 97%, 47%) Meat Brown
#04ecb5 rgb(4, 236, 181) hsl(166, 97%, 47%) Aquamarine