#b331f2 ≈ Electric Purple
#b331f2 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.2% red, 19.22% green and 94.9% blue; printed in CMYK it uses 26.03% cyan, 79.75% magenta, 0% yellow and 5.1% black. Its hue angle is 280.41°, with 88.13% saturation and 57.06% 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.64:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.43.
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.1819 |
Shades
#b331f2 mixed progressively with black.
Tints
#b331f2 mixed progressively with white.
Tones
#b331f2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b331f2 {
color: #b331f2;
}
.bg-b331f2 {
background-color: #b331f2;
color: #000000;
}
.border-b331f2 {
border: 2px solid #b331f2;
}
:root {
--color-primary: #b331f2;
--color-primary-rgb: 179 49 242;
--color-primary-hsl: 280 88% 57%;
}
.gradient-b331f2 {
background: linear-gradient(135deg, #b331f2, #f231d1);
}
.shadow-b331f2 {
box-shadow: 0 8px 24px rgb(179 49 242 / 0.35);
}
Electric Purple
#b331f2 rgb(179, 49, 242) hsl(280, 88%, 57%) Electric Purple
#70f231 rgb(112, 242, 49) hsl(100, 88%, 57%) Lawn Green
#f2b331 rgb(242, 179, 49) hsl(40, 88%, 57%) Meat Brown
#31f2b3 rgb(49, 242, 179) hsl(160, 88%, 57%) Medium Spring Green