#ba22eb ≈ Electric Purple
#ba22eb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 13.33% green and 92.16% blue; printed in CMYK it uses 20.85% cyan, 85.53% magenta, 0% yellow and 7.84% black. Its hue angle is 285.37°, with 83.4% saturation and 52.75% 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 call-to-action buttons. White text on this color reaches a contrast ratio of 4.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.41.
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.1758 |
Shades
#ba22eb mixed progressively with black.
Tints
#ba22eb mixed progressively with white.
Tones
#ba22eb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba22eb {
color: #ba22eb;
}
.bg-ba22eb {
background-color: #ba22eb;
color: #ffffff;
}
.border-ba22eb {
border: 2px solid #ba22eb;
}
:root {
--color-primary: #ba22eb;
--color-primary-rgb: 186 34 235;
--color-primary-hsl: 285 83% 53%;
}
.gradient-ba22eb {
background: linear-gradient(135deg, #ba22eb, #eb22b8);
}
.shadow-ba22eb {
box-shadow: 0 8px 24px rgb(186 34 235 / 0.35);
}
Electric Purple
#ba22eb rgb(186, 34, 235) hsl(285, 83%, 53%) Electric Purple
#53eb22 rgb(83, 235, 34) hsl(105, 83%, 53%) Neon Green
#ebba22 rgb(235, 186, 34) hsl(45, 83%, 53%) Meat Brown
#22ebba rgb(34, 235, 186) hsl(165, 83%, 53%) Aquamarine