#ba04fc ≈ Electric Purple
#ba04fc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 1.57% green and 98.82% blue; printed in CMYK it uses 26.19% cyan, 98.41% magenta, 0% yellow and 1.18% black. Its hue angle is 284.03°, with 97.64% saturation and 50.2% 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. White text on this color reaches a contrast ratio of 4.66:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.97.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1755 |
Shades
#ba04fc mixed progressively with black.
Tints
#ba04fc mixed progressively with white.
Tones
#ba04fc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba04fc {
color: #ba04fc;
}
.bg-ba04fc {
background-color: #ba04fc;
color: #ffffff;
}
.border-ba04fc {
border: 2px solid #ba04fc;
}
:root {
--color-primary: #ba04fc;
--color-primary-rgb: 186 4 252;
--color-primary-hsl: 284 98% 50%;
}
.gradient-ba04fc {
background: linear-gradient(135deg, #ba04fc, #fc04c2);
}
.shadow-ba04fc {
box-shadow: 0 8px 24px rgb(186 4 252 / 0.35);
}
Electric Purple
#ba04fc rgb(186, 4, 252) hsl(284, 98%, 50%) Electric Purple
#46fc04 rgb(70, 252, 4) hsl(104, 98%, 50%) Harlequin
#fcba04 rgb(252, 186, 4) hsl(44, 98%, 50%) Amber
#04fcba rgb(4, 252, 186) hsl(164, 98%, 50%) Medium Spring Green