#b217fa ≈ Electric Purple
#b217fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 69.8% red, 9.02% green and 98.04% blue; printed in CMYK it uses 28.8% cyan, 90.8% magenta, 0% yellow and 1.96% black. Its hue angle is 280.97°, with 95.78% saturation and 53.53% 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.78:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.06.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9900ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1698 |
Shades
#b217fa mixed progressively with black.
Tints
#b217fa mixed progressively with white.
Tones
#b217fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b217fa {
color: #b217fa;
}
.bg-b217fa {
background-color: #b217fa;
color: #ffffff;
}
.border-b217fa {
border: 2px solid #b217fa;
}
:root {
--color-primary: #b217fa;
--color-primary-rgb: 178 23 250;
--color-primary-hsl: 281 96% 54%;
}
.gradient-b217fa {
background: linear-gradient(135deg, #b217fa, #fa17d0);
}
.shadow-b217fa {
box-shadow: 0 8px 24px rgb(178 23 250 / 0.35);
}
Electric Purple
#b217fa rgb(178, 23, 250) hsl(281, 96%, 54%) Electric Purple
#5ffa17 rgb(95, 250, 23) hsl(101, 96%, 54%) Harlequin
#fab217 rgb(250, 178, 23) hsl(41, 96%, 54%) Amber
#17fab2 rgb(23, 250, 178) hsl(161, 96%, 54%) Medium Spring Green