#ba2dfd ≈ Electric Purple
#ba2dfd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 17.65% green and 99.22% blue; printed in CMYK it uses 26.48% cyan, 82.21% magenta, 0% yellow and 0.78% black. Its hue angle is 280.67°, with 98.11% saturation and 58.43% 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. Black text on this color reaches a contrast ratio of 4.88:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.05.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1941 |
Shades
#ba2dfd mixed progressively with black.
Tints
#ba2dfd mixed progressively with white.
Tones
#ba2dfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2dfd {
color: #ba2dfd;
}
.bg-ba2dfd {
background-color: #ba2dfd;
color: #000000;
}
.border-ba2dfd {
border: 2px solid #ba2dfd;
}
:root {
--color-primary: #ba2dfd;
--color-primary-rgb: 186 45 253;
--color-primary-hsl: 281 98% 58%;
}
.gradient-ba2dfd {
background: linear-gradient(135deg, #ba2dfd, #fd2dd8);
}
.shadow-ba2dfd {
box-shadow: 0 8px 24px rgb(186 45 253 / 0.35);
}
Electric Purple
#ba2dfd rgb(186, 45, 253) hsl(281, 98%, 58%) Electric Purple
#70fd2d rgb(112, 253, 45) hsl(101, 98%, 58%) Lawn Green
#fdba2d rgb(253, 186, 45) hsl(41, 98%, 58%) Amber
#2dfdba rgb(45, 253, 186) hsl(161, 98%, 58%) Medium Spring Green