#ba2aef ≈ Electric Purple
#ba2aef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 16.47% green and 93.73% blue; printed in CMYK it uses 22.18% cyan, 82.43% magenta, 0% yellow and 6.27% black. Its hue angle is 283.86°, with 86.03% saturation and 55.1% 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.67:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.17.
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.1833 |
Shades
#ba2aef mixed progressively with black.
Tints
#ba2aef mixed progressively with white.
Tones
#ba2aef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2aef {
color: #ba2aef;
}
.bg-ba2aef {
background-color: #ba2aef;
color: #000000;
}
.border-ba2aef {
border: 2px solid #ba2aef;
}
:root {
--color-primary: #ba2aef;
--color-primary-rgb: 186 42 239;
--color-primary-hsl: 284 86% 55%;
}
.gradient-ba2aef {
background: linear-gradient(135deg, #ba2aef, #ef2ac1);
}
.shadow-ba2aef {
box-shadow: 0 8px 24px rgb(186 42 239 / 0.35);
}
Electric Purple
#ba2aef rgb(186, 42, 239) hsl(284, 86%, 55%) Electric Purple
#5fef2a rgb(95, 239, 42) hsl(104, 86%, 55%) Neon Green
#efba2a rgb(239, 186, 42) hsl(44, 86%, 55%) Meat Brown
#2aefba rgb(42, 239, 186) hsl(164, 86%, 55%) Aquamarine