#bf0afa ≈ Electric Purple
#bf0afa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 74.9% red, 3.92% green and 98.04% blue; printed in CMYK it uses 23.6% cyan, 96% magenta, 0% yellow and 1.96% black. Its hue angle is 285.25°, with 96% saturation and 50.98% lightness in HSL. It sits between warm and cool, and is 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.64:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.59.
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.182 |
Shades
#bf0afa mixed progressively with black.
Tints
#bf0afa mixed progressively with white.
Tones
#bf0afa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-bf0afa {
color: #bf0afa;
}
.bg-bf0afa {
background-color: #bf0afa;
color: #000000;
}
.border-bf0afa {
border: 2px solid #bf0afa;
}
:root {
--color-primary: #bf0afa;
--color-primary-rgb: 191 10 250;
--color-primary-hsl: 285 96% 51%;
}
.gradient-bf0afa {
background: linear-gradient(135deg, #bf0afa, #fa0abd);
}
.shadow-bf0afa {
box-shadow: 0 8px 24px rgb(191 10 250 / 0.35);
}
Electric Purple
#bf0afa rgb(191, 10, 250) hsl(285, 96%, 51%) Electric Purple
#45fa0a rgb(69, 250, 10) hsl(105, 96%, 51%) Harlequin
#fabf0a rgb(250, 191, 10) hsl(45, 96%, 51%) Golden Poppy
#0afabf rgb(10, 250, 191) hsl(165, 96%, 51%) Aquamarine