#b504ef ≈ Electric Purple
#b504ef 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 93.73% blue; printed in CMYK it uses 24.27% cyan, 98.33% magenta, 0% yellow and 6.27% black. Its hue angle is 285.19°, with 96.71% saturation and 47.65% 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 4.97:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.87.
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.1614 |
Shades
#b504ef mixed progressively with black.
Tints
#b504ef mixed progressively with white.
Tones
#b504ef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b504ef {
color: #b504ef;
}
.bg-b504ef {
background-color: #b504ef;
color: #ffffff;
}
.border-b504ef {
border: 2px solid #b504ef;
}
:root {
--color-primary: #b504ef;
--color-primary-rgb: 181 4 239;
--color-primary-hsl: 285 97% 48%;
}
.gradient-b504ef {
background: linear-gradient(135deg, #b504ef, #ef04b4);
}
.shadow-b504ef {
box-shadow: 0 8px 24px rgb(181 4 239 / 0.35);
}
Electric Purple
#b504ef rgb(181, 4, 239) hsl(285, 97%, 48%) Electric Purple
#3eef04 rgb(62, 239, 4) hsl(105, 97%, 48%) Neon Green
#efb504 rgb(239, 181, 4) hsl(45, 97%, 48%) Amber
#04efb5 rgb(4, 239, 181) hsl(165, 97%, 48%) Aquamarine