#ba2ddc ≈ Electric Purple
#ba2ddc is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 17.65% green and 86.27% blue; printed in CMYK it uses 15.45% cyan, 79.55% magenta, 0% yellow and 13.73% black. Its hue angle is 288.34°, with 71.43% saturation and 51.96% 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.67:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.43.
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.1748 |
Shades
#ba2ddc mixed progressively with black.
Tints
#ba2ddc mixed progressively with white.
Tones
#ba2ddc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2ddc {
color: #ba2ddc;
}
.bg-ba2ddc {
background-color: #ba2ddc;
color: #ffffff;
}
.border-ba2ddc {
border: 2px solid #ba2ddc;
}
:root {
--color-primary: #ba2ddc;
--color-primary-rgb: 186 45 220;
--color-primary-hsl: 288 71% 52%;
}
.gradient-ba2ddc {
background: linear-gradient(135deg, #ba2ddc, #dc2da7);
}
.shadow-ba2ddc {
box-shadow: 0 8px 24px rgb(186 45 220 / 0.35);
}
Electric Purple
#ba2ddc rgb(186, 45, 220) hsl(288, 71%, 52%) Electric Purple
#4fdc2d rgb(79, 220, 45) hsl(108, 71%, 52%) Lime Green
#dcba2d rgb(220, 186, 45) hsl(48, 71%, 52%) Old Gold
#2ddcba rgb(45, 220, 186) hsl(168, 71%, 52%) Medium Aquamarine