#b520df ≈ Electric Purple
#b520df is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 70.98% red, 12.55% green and 87.45% blue; printed in CMYK it uses 18.83% cyan, 85.65% magenta, 0% yellow and 12.55% black. Its hue angle is 286.81°, with 74.9% saturation and 50% 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.96:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.13.
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.1618 |
Shades
#b520df mixed progressively with black.
Tints
#b520df mixed progressively with white.
Tones
#b520df mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b520df {
color: #b520df;
}
.bg-b520df {
background-color: #b520df;
color: #ffffff;
}
.border-b520df {
border: 2px solid #b520df;
}
:root {
--color-primary: #b520df;
--color-primary-rgb: 181 32 223;
--color-primary-hsl: 287 75% 50%;
}
.gradient-b520df {
background: linear-gradient(135deg, #b520df, #df20a9);
}
.shadow-b520df {
box-shadow: 0 8px 24px rgb(181 32 223 / 0.35);
}
Electric Purple
#b520df rgb(181, 32, 223) hsl(287, 75%, 50%) Electric Purple
#4adf20 rgb(74, 223, 32) hsl(107, 75%, 50%) Lime Green
#dfb520 rgb(223, 181, 32) hsl(47, 75%, 50%) Meat Brown
#20dfb5 rgb(32, 223, 181) hsl(167, 75%, 50%) Caribbean Green