#cd31fe ≈ Electric Purple
#cd31fe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 19.22% green and 99.61% blue; printed in CMYK it uses 19.29% cyan, 80.71% magenta, 0% yellow and 0.39% black. Its hue angle is 285.66°, with 99.03% saturation and 59.41% 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 5.47:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.82.
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.2233 |
Shades
#cd31fe mixed progressively with black.
Tints
#cd31fe mixed progressively with white.
Tones
#cd31fe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd31fe {
color: #cd31fe;
}
.bg-cd31fe {
background-color: #cd31fe;
color: #000000;
}
.border-cd31fe {
border: 2px solid #cd31fe;
}
:root {
--color-primary: #cd31fe;
--color-primary-rgb: 205 49 254;
--color-primary-hsl: 286 99% 59%;
}
.gradient-cd31fe {
background: linear-gradient(135deg, #cd31fe, #fe31c8);
}
.shadow-cd31fe {
box-shadow: 0 8px 24px rgb(205 49 254 / 0.35);
}
Electric Purple
#cd31fe rgb(205, 49, 254) hsl(286, 99%, 59%) Electric Purple
#62fe31 rgb(98, 254, 49) hsl(106, 99%, 59%) Harlequin
#fecd31 rgb(254, 205, 49) hsl(46, 99%, 59%) Sunglow
#31fecd rgb(49, 254, 205) hsl(166, 99%, 59%) Aquamarine