#ba2cf5 ≈ Electric Purple
#ba2cf5 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 17.25% green and 96.08% blue; printed in CMYK it uses 24.08% cyan, 82.04% magenta, 0% yellow and 3.92% black. Its hue angle is 282.39°, with 90.95% saturation and 56.67% 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.77:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.93.
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.1883 |
Shades
#ba2cf5 mixed progressively with black.
Tints
#ba2cf5 mixed progressively with white.
Tones
#ba2cf5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2cf5 {
color: #ba2cf5;
}
.bg-ba2cf5 {
background-color: #ba2cf5;
color: #000000;
}
.border-ba2cf5 {
border: 2px solid #ba2cf5;
}
:root {
--color-primary: #ba2cf5;
--color-primary-rgb: 186 44 245;
--color-primary-hsl: 282 91% 57%;
}
.gradient-ba2cf5 {
background: linear-gradient(135deg, #ba2cf5, #f52ccb);
}
.shadow-ba2cf5 {
box-shadow: 0 8px 24px rgb(186 44 245 / 0.35);
}
Electric Purple
#ba2cf5 rgb(186, 44, 245) hsl(282, 91%, 57%) Electric Purple
#67f52c rgb(103, 245, 44) hsl(102, 91%, 57%) Harlequin
#f5ba2c rgb(245, 186, 44) hsl(42, 91%, 57%) Amber
#2cf5ba rgb(44, 245, 186) hsl(162, 91%, 57%) Aquamarine