#c31bfa ≈ Electric Purple
#c31bfa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.47% red, 10.59% green and 98.04% blue; printed in CMYK it uses 22% cyan, 89.2% magenta, 0% yellow and 1.96% black. Its hue angle is 285.2°, with 95.71% saturation and 54.31% lightness in HSL. It sits between warm and cool, and is 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.86:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.58.
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.1929 |
Shades
#c31bfa mixed progressively with black.
Tints
#c31bfa mixed progressively with white.
Tones
#c31bfa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c31bfa {
color: #c31bfa;
}
.bg-c31bfa {
background-color: #c31bfa;
color: #000000;
}
.border-c31bfa {
border: 2px solid #c31bfa;
}
:root {
--color-primary: #c31bfa;
--color-primary-rgb: 195 27 250;
--color-primary-hsl: 285 96% 54%;
}
.gradient-c31bfa {
background: linear-gradient(135deg, #c31bfa, #fa1bc2);
}
.shadow-c31bfa {
box-shadow: 0 8px 24px rgb(195 27 250 / 0.35);
}
Electric Purple
#c31bfa rgb(195, 27, 250) hsl(285, 96%, 54%) Electric Purple
#52fa1b rgb(82, 250, 27) hsl(105, 96%, 54%) Harlequin
#fac31b rgb(250, 195, 27) hsl(45, 96%, 54%) Golden Poppy
#1bfac3 rgb(27, 250, 195) hsl(165, 96%, 54%) Aquamarine