#c40dfd ≈ Electric Purple
#c40dfd is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.86% red, 5.1% green and 99.22% blue; printed in CMYK it uses 22.53% cyan, 94.86% magenta, 0% yellow and 0.78% black. Its hue angle is 285.75°, with 98.36% saturation and 52.16% 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.82:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 1.2.
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.1912 |
Shades
#c40dfd mixed progressively with black.
Tints
#c40dfd mixed progressively with white.
Tones
#c40dfd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c40dfd {
color: #c40dfd;
}
.bg-c40dfd {
background-color: #c40dfd;
color: #000000;
}
.border-c40dfd {
border: 2px solid #c40dfd;
}
:root {
--color-primary: #c40dfd;
--color-primary-rgb: 196 13 253;
--color-primary-hsl: 286 98% 52%;
}
.gradient-c40dfd {
background: linear-gradient(135deg, #c40dfd, #fd0dbe);
}
.shadow-c40dfd {
box-shadow: 0 8px 24px rgb(196 13 253 / 0.35);
}
Electric Purple
#c40dfd rgb(196, 13, 253) hsl(286, 98%, 52%) Electric Purple
#46fd0d rgb(70, 253, 13) hsl(106, 98%, 52%) Harlequin
#fdc40d rgb(253, 196, 13) hsl(46, 98%, 52%) Mikado Yellow
#0dfdc4 rgb(13, 253, 196) hsl(166, 98%, 52%) Aquamarine