#ba28ff ≈ Electric Purple
#ba28ff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 15.69% green and 100% blue; printed in CMYK it uses 27.06% cyan, 84.31% magenta, 0% yellow and 0% black. Its hue angle is 280.74°, with 100% saturation and 57.84% lightness in HSL. It is a cool color, often associated with creativity, boldness and individuality. Designers typically use it for beauty and cosmetics, creative studios and call-to-action buttons. Black text on this color reaches a contrast ratio of 4.84:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.7.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1918 |
Shades
#ba28ff mixed progressively with black.
Tints
#ba28ff mixed progressively with white.
Tones
#ba28ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba28ff {
color: #ba28ff;
}
.bg-ba28ff {
background-color: #ba28ff;
color: #000000;
}
.border-ba28ff {
border: 2px solid #ba28ff;
}
:root {
--color-primary: #ba28ff;
--color-primary-rgb: 186 40 255;
--color-primary-hsl: 281 100% 58%;
}
.gradient-ba28ff {
background: linear-gradient(135deg, #ba28ff, #ff28d9);
}
.shadow-ba28ff {
box-shadow: 0 8px 24px rgb(186 40 255 / 0.35);
}
Electric Purple
#ba28ff rgb(186, 40, 255) hsl(281, 100%, 58%) Electric Purple
#6dff28 rgb(109, 255, 40) hsl(101, 100%, 58%) Lawn Green
#ffba28 rgb(255, 186, 40) hsl(41, 100%, 58%) Amber
#28ffba rgb(40, 255, 186) hsl(161, 100%, 58%) Medium Spring Green