#ba2fdb ≈ Electric Purple
#ba2fdb is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 18.43% green and 85.88% blue; printed in CMYK it uses 15.07% cyan, 78.54% magenta, 0% yellow and 14.12% black. Its hue angle is 288.49°, with 70.49% saturation and 52.16% 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.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.6.
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.1759 |
Shades
#ba2fdb mixed progressively with black.
Tints
#ba2fdb mixed progressively with white.
Tones
#ba2fdb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2fdb {
color: #ba2fdb;
}
.bg-ba2fdb {
background-color: #ba2fdb;
color: #ffffff;
}
.border-ba2fdb {
border: 2px solid #ba2fdb;
}
:root {
--color-primary: #ba2fdb;
--color-primary-rgb: 186 47 219;
--color-primary-hsl: 288 70% 52%;
}
.gradient-ba2fdb {
background: linear-gradient(135deg, #ba2fdb, #db2fa6);
}
.shadow-ba2fdb {
box-shadow: 0 8px 24px rgb(186 47 219 / 0.35);
}
Electric Purple
#ba2fdb rgb(186, 47, 219) hsl(288, 70%, 52%) Electric Purple
#50db2f rgb(80, 219, 47) hsl(108, 70%, 52%) Lime Green
#dbba2f rgb(219, 186, 47) hsl(48, 70%, 52%) Old Gold
#2fdbba rgb(47, 219, 186) hsl(168, 70%, 52%) Medium Aquamarine