#ba28dc ≈ Electric Purple
#ba28dc is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 15.69% green and 86.27% blue; printed in CMYK it uses 15.45% cyan, 81.82% magenta, 0% yellow and 13.73% black. Its hue angle is 288.67°, with 72% saturation and 50.98% 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 4.37.
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.1712 |
Shades
#ba28dc mixed progressively with black.
Tints
#ba28dc mixed progressively with white.
Tones
#ba28dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba28dc {
color: #ba28dc;
}
.bg-ba28dc {
background-color: #ba28dc;
color: #ffffff;
}
.border-ba28dc {
border: 2px solid #ba28dc;
}
:root {
--color-primary: #ba28dc;
--color-primary-rgb: 186 40 220;
--color-primary-hsl: 289 72% 51%;
}
.gradient-ba28dc {
background: linear-gradient(135deg, #ba28dc, #dc28a4);
}
.shadow-ba28dc {
box-shadow: 0 8px 24px rgb(186 40 220 / 0.35);
}
Electric Purple
#ba28dc rgb(186, 40, 220) hsl(289, 72%, 51%) Electric Purple
#4adc28 rgb(74, 220, 40) hsl(109, 72%, 51%) Lime Green
#dcba28 rgb(220, 186, 40) hsl(49, 72%, 51%) Old Gold
#28dcba rgb(40, 220, 186) hsl(169, 72%, 51%) Medium Aquamarine