#b318fa ≈ Electric Purple
#b318fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 70.2% red, 9.41% green and 98.04% blue; printed in CMYK it uses 28.4% cyan, 90.4% magenta, 0% yellow and 1.96% black. Its hue angle is 281.15°, with 95.76% saturation and 53.73% 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.74:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.87.
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.1714 |
Shades
#b318fa mixed progressively with black.
Tints
#b318fa mixed progressively with white.
Tones
#b318fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b318fa {
color: #b318fa;
}
.bg-b318fa {
background-color: #b318fa;
color: #ffffff;
}
.border-b318fa {
border: 2px solid #b318fa;
}
:root {
--color-primary: #b318fa;
--color-primary-rgb: 179 24 250;
--color-primary-hsl: 281 96% 54%;
}
.gradient-b318fa {
background: linear-gradient(135deg, #b318fa, #fa18d0);
}
.shadow-b318fa {
box-shadow: 0 8px 24px rgb(179 24 250 / 0.35);
}
Electric Purple
#b318fa rgb(179, 24, 250) hsl(281, 96%, 54%) Electric Purple
#5ffa18 rgb(95, 250, 24) hsl(101, 96%, 54%) Harlequin
#fab318 rgb(250, 179, 24) hsl(41, 96%, 54%) Amber
#18fab3 rgb(24, 250, 179) hsl(161, 96%, 54%) Medium Spring Green