#ba1bfa ≈ Electric Purple
#ba1bfa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 72.94% red, 10.59% green and 98.04% blue; printed in CMYK it uses 25.6% cyan, 89.2% magenta, 0% yellow and 1.96% black. Its hue angle is 282.78°, with 95.71% saturation and 54.31% 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.63:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.88.
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.1813 |
Shades
#ba1bfa mixed progressively with black.
Tints
#ba1bfa mixed progressively with white.
Tones
#ba1bfa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba1bfa {
color: #ba1bfa;
}
.bg-ba1bfa {
background-color: #ba1bfa;
color: #000000;
}
.border-ba1bfa {
border: 2px solid #ba1bfa;
}
:root {
--color-primary: #ba1bfa;
--color-primary-rgb: 186 27 250;
--color-primary-hsl: 283 96% 54%;
}
.gradient-ba1bfa {
background: linear-gradient(135deg, #ba1bfa, #fa1bca);
}
.shadow-ba1bfa {
box-shadow: 0 8px 24px rgb(186 27 250 / 0.35);
}
Electric Purple
#ba1bfa rgb(186, 27, 250) hsl(283, 96%, 54%) Electric Purple
#5bfa1b rgb(91, 250, 27) hsl(103, 96%, 54%) Harlequin
#faba1b rgb(250, 186, 27) hsl(43, 96%, 54%) Amber
#1bfaba rgb(27, 250, 186) hsl(163, 96%, 54%) Medium Spring Green