#ba2cd6 ≈ Electric Purple
#ba2cd6 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 83.92% blue; printed in CMYK it uses 13.08% cyan, 79.44% magenta, 0% yellow and 16.08% black. Its hue angle is 290.12°, with 67.46% saturation and 50.59% 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.75:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.23.
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.171 |
Shades
#ba2cd6 mixed progressively with black.
Tints
#ba2cd6 mixed progressively with white.
Tones
#ba2cd6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2cd6 {
color: #ba2cd6;
}
.bg-ba2cd6 {
background-color: #ba2cd6;
color: #ffffff;
}
.border-ba2cd6 {
border: 2px solid #ba2cd6;
}
:root {
--color-primary: #ba2cd6;
--color-primary-rgb: 186 44 214;
--color-primary-hsl: 290 67% 51%;
}
.gradient-ba2cd6 {
background: linear-gradient(135deg, #ba2cd6, #d62c9d);
}
.shadow-ba2cd6 {
box-shadow: 0 8px 24px rgb(186 44 214 / 0.35);
}
Electric Purple
#ba2cd6 rgb(186, 44, 214) hsl(290, 67%, 51%) Electric Purple
#48d62c rgb(72, 214, 44) hsl(110, 67%, 51%) Lime Green
#d6ba2c rgb(214, 186, 44) hsl(50, 67%, 51%) Old Gold
#2cd6ba rgb(44, 214, 186) hsl(170, 67%, 51%) Turquoise