#ba2cd2 ≈ Electric Purple
#ba2cd2 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.25% green and 82.35% blue; printed in CMYK it uses 11.43% cyan, 79.05% magenta, 0% yellow and 17.65% black. Its hue angle is 291.33°, with 65.35% saturation and 49.8% 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.8:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.79.
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.1689 |
Shades
#ba2cd2 mixed progressively with black.
Tints
#ba2cd2 mixed progressively with white.
Tones
#ba2cd2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2cd2 {
color: #ba2cd2;
}
.bg-ba2cd2 {
background-color: #ba2cd2;
color: #ffffff;
}
.border-ba2cd2 {
border: 2px solid #ba2cd2;
}
:root {
--color-primary: #ba2cd2;
--color-primary-rgb: 186 44 210;
--color-primary-hsl: 291 65% 50%;
}
.gradient-ba2cd2 {
background: linear-gradient(135deg, #ba2cd2, #d22c97);
}
.shadow-ba2cd2 {
box-shadow: 0 8px 24px rgb(186 44 210 / 0.35);
}
Electric Purple
#ba2cd2 rgb(186, 44, 210) hsl(291, 65%, 50%) Electric Purple
#44d22c rgb(68, 210, 44) hsl(111, 65%, 50%) Lime Green
#d2ba2c rgb(210, 186, 44) hsl(51, 65%, 50%) Old Gold
#2cd2ba rgb(44, 210, 186) hsl(171, 65%, 50%) Turquoise