#ba2ed9 ≈ Electric Purple
#ba2ed9 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.04% green and 85.1% blue; printed in CMYK it uses 14.29% cyan, 78.8% magenta, 0% yellow and 14.9% black. Its hue angle is 289.12°, with 69.23% saturation and 51.57% 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.69:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.84.
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.174 |
Shades
#ba2ed9 mixed progressively with black.
Tints
#ba2ed9 mixed progressively with white.
Tones
#ba2ed9 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2ed9 {
color: #ba2ed9;
}
.bg-ba2ed9 {
background-color: #ba2ed9;
color: #ffffff;
}
.border-ba2ed9 {
border: 2px solid #ba2ed9;
}
:root {
--color-primary: #ba2ed9;
--color-primary-rgb: 186 46 217;
--color-primary-hsl: 289 69% 52%;
}
.gradient-ba2ed9 {
background: linear-gradient(135deg, #ba2ed9, #d92ea3);
}
.shadow-ba2ed9 {
box-shadow: 0 8px 24px rgb(186 46 217 / 0.35);
}
Electric Purple
#ba2ed9 rgb(186, 46, 217) hsl(289, 69%, 52%) Electric Purple
#4dd92e rgb(77, 217, 46) hsl(109, 69%, 52%) Lime Green
#d9ba2e rgb(217, 186, 46) hsl(49, 69%, 52%) Old Gold
#2ed9ba rgb(46, 217, 186) hsl(169, 69%, 52%) Turquoise