#c31dfd ≈ Electric Purple
#c31dfd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.47% red, 11.37% green and 99.22% blue; printed in CMYK it uses 22.92% cyan, 88.54% magenta, 0% yellow and 0.78% black. Its hue angle is 284.46°, with 98.25% saturation and 55.29% 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.91:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.69.
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.1957 |
Shades
#c31dfd mixed progressively with black.
Tints
#c31dfd mixed progressively with white.
Tones
#c31dfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c31dfd {
color: #c31dfd;
}
.bg-c31dfd {
background-color: #c31dfd;
color: #000000;
}
.border-c31dfd {
border: 2px solid #c31dfd;
}
:root {
--color-primary: #c31dfd;
--color-primary-rgb: 195 29 253;
--color-primary-hsl: 284 98% 55%;
}
.gradient-c31dfd {
background: linear-gradient(135deg, #c31dfd, #fd1dc7);
}
.shadow-c31dfd {
box-shadow: 0 8px 24px rgb(195 29 253 / 0.35);
}
Electric Purple
#c31dfd rgb(195, 29, 253) hsl(284, 98%, 55%) Electric Purple
#57fd1d rgb(87, 253, 29) hsl(104, 98%, 55%) Harlequin
#fdc31d rgb(253, 195, 29) hsl(44, 98%, 55%) Mikado Yellow
#1dfdc3 rgb(29, 253, 195) hsl(164, 98%, 55%) Aquamarine