#b331fa ≈ Electric Purple
#b331fa is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 70.2% red, 19.22% green and 98.04% blue; printed in CMYK it uses 28.4% cyan, 80.4% magenta, 0% yellow and 1.96% black. Its hue angle is 278.81°, with 95.26% saturation and 58.63% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. 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.74:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.33.
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.1868 |
Shades
#b331fa mixed progressively with black.
Tints
#b331fa mixed progressively with white.
Tones
#b331fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b331fa {
color: #b331fa;
}
.bg-b331fa {
background-color: #b331fa;
color: #000000;
}
.border-b331fa {
border: 2px solid #b331fa;
}
:root {
--color-primary: #b331fa;
--color-primary-rgb: 179 49 250;
--color-primary-hsl: 279 95% 59%;
}
.gradient-b331fa {
background: linear-gradient(135deg, #b331fa, #fa31dc);
}
.shadow-b331fa {
box-shadow: 0 8px 24px rgb(179 49 250 / 0.35);
}
Electric Purple
#b331fa rgb(179, 49, 250) hsl(279, 95%, 59%) Electric Purple
#78fa31 rgb(120, 250, 49) hsl(99, 95%, 59%) Lawn Green
#fab331 rgb(250, 179, 49) hsl(39, 95%, 59%) Pastel Orange
#31fab3 rgb(49, 250, 179) hsl(159, 95%, 59%) Medium Spring Green