#ba2ef6 ≈ Electric Purple
#ba2ef6 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 18.04% green and 96.47% blue; printed in CMYK it uses 24.39% cyan, 81.3% magenta, 0% yellow and 3.53% black. Its hue angle is 282°, with 91.74% saturation and 57.25% 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.81:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.07.
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.1905 |
Shades
#ba2ef6 mixed progressively with black.
Tints
#ba2ef6 mixed progressively with white.
Tones
#ba2ef6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba2ef6 {
color: #ba2ef6;
}
.bg-ba2ef6 {
background-color: #ba2ef6;
color: #000000;
}
.border-ba2ef6 {
border: 2px solid #ba2ef6;
}
:root {
--color-primary: #ba2ef6;
--color-primary-rgb: 186 46 246;
--color-primary-hsl: 282 92% 57%;
}
.gradient-ba2ef6 {
background: linear-gradient(135deg, #ba2ef6, #f62ece);
}
.shadow-ba2ef6 {
box-shadow: 0 8px 24px rgb(186 46 246 / 0.35);
}
Electric Purple
#ba2ef6 rgb(186, 46, 246) hsl(282, 92%, 57%) Electric Purple
#6af62e rgb(106, 246, 46) hsl(102, 92%, 57%) Harlequin
#f6ba2e rgb(246, 186, 46) hsl(42, 92%, 57%) Amber
#2ef6ba rgb(46, 246, 186) hsl(162, 92%, 57%) Aquamarine