#ba28dd ≈ Electric Purple
#ba28dd 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.67% blue; printed in CMYK it uses 15.84% cyan, 81.9% magenta, 0% yellow and 13.33% black. Its hue angle is 288.4°, with 72.69% saturation and 51.18% 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.73:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.24.
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.1718 |
Shades
#ba28dd mixed progressively with black.
Tints
#ba28dd mixed progressively with white.
Tones
#ba28dd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba28dd {
color: #ba28dd;
}
.bg-ba28dd {
background-color: #ba28dd;
color: #ffffff;
}
.border-ba28dd {
border: 2px solid #ba28dd;
}
:root {
--color-primary: #ba28dd;
--color-primary-rgb: 186 40 221;
--color-primary-hsl: 288 73% 51%;
}
.gradient-ba28dd {
background: linear-gradient(135deg, #ba28dd, #dd28a5);
}
.shadow-ba28dd {
box-shadow: 0 8px 24px rgb(186 40 221 / 0.35);
}
Electric Purple
#ba28dd rgb(186, 40, 221) hsl(288, 73%, 51%) Electric Purple
#4bdd28 rgb(75, 221, 40) hsl(108, 73%, 51%) Lime Green
#ddba28 rgb(221, 186, 40) hsl(48, 73%, 51%) Old Gold
#28ddba rgb(40, 221, 186) hsl(168, 73%, 51%) Medium Aquamarine