#b504fd ≈ Electric Purple
#b504fd 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 99.22% blue; printed in CMYK it uses 28.46% cyan, 98.42% magenta, 0% yellow and 0.78% black. Its hue angle is 282.65°, with 98.42% saturation and 50.39% 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.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.82.
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.17 |
Shades
#b504fd mixed progressively with black.
Tints
#b504fd mixed progressively with white.
Tones
#b504fd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b504fd {
color: #b504fd;
}
.bg-b504fd {
background-color: #b504fd;
color: #ffffff;
}
.border-b504fd {
border: 2px solid #b504fd;
}
:root {
--color-primary: #b504fd;
--color-primary-rgb: 181 4 253;
--color-primary-hsl: 283 98% 50%;
}
.gradient-b504fd {
background: linear-gradient(135deg, #b504fd, #fd04c9);
}
.shadow-b504fd {
box-shadow: 0 8px 24px rgb(181 4 253 / 0.35);
}
Electric Purple
#b504fd rgb(181, 4, 253) hsl(283, 98%, 50%) Electric Purple
#4cfd04 rgb(76, 253, 4) hsl(103, 98%, 50%) Harlequin
#fdb504 rgb(253, 181, 4) hsl(43, 98%, 50%) Amber
#04fdb5 rgb(4, 253, 181) hsl(163, 98%, 50%) Medium Spring Green