#b31cff ≈ Electric Purple
#b31cff is a color from the violet family, with medium lightness and vivid saturation. In the RGB model it is made of 70.2% red, 10.98% green and 100% blue; printed in CMYK it uses 29.8% cyan, 89.02% magenta, 0% yellow and 0% black. Its hue angle is 279.91°, with 100% saturation and 55.49% 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. White text on this color reaches a contrast ratio of 4.64:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.75.
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.1763 |
Shades
#b31cff mixed progressively with black.
Tints
#b31cff mixed progressively with white.
Tones
#b31cff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-b31cff {
color: #b31cff;
}
.bg-b31cff {
background-color: #b31cff;
color: #ffffff;
}
.border-b31cff {
border: 2px solid #b31cff;
}
:root {
--color-primary: #b31cff;
--color-primary-rgb: 179 28 255;
--color-primary-hsl: 280 100% 55%;
}
.gradient-b31cff {
background: linear-gradient(135deg, #b31cff, #ff1cda);
}
.shadow-b31cff {
box-shadow: 0 8px 24px rgb(179 28 255 / 0.35);
}
Electric Purple
#b31cff rgb(179, 28, 255) hsl(280, 100%, 55%) Electric Purple
#68ff1c rgb(104, 255, 28) hsl(100, 100%, 55%) Harlequin
#ffb31c rgb(255, 179, 28) hsl(40, 100%, 55%) Pastel Orange
#1cffb3 rgb(28, 255, 179) hsl(160, 100%, 55%) Medium Spring Green