#c40fcd ≈ Electric Purple
#c40fcd is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.86% red, 5.88% green and 80.39% blue; printed in CMYK it uses 4.39% cyan, 92.68% magenta, 0% yellow and 19.61% black. Its hue angle is 297.16°, with 86.36% saturation and 43.14% 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. White text on this color reaches a contrast ratio of 4.89:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.88.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1649 |
Shades
#c40fcd mixed progressively with black.
Tints
#c40fcd mixed progressively with white.
Tones
#c40fcd mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c40fcd {
color: #c40fcd;
}
.bg-c40fcd {
background-color: #c40fcd;
color: #ffffff;
}
.border-c40fcd {
border: 2px solid #c40fcd;
}
:root {
--color-primary: #c40fcd;
--color-primary-rgb: 196 15 205;
--color-primary-hsl: 297 86% 43%;
}
.gradient-c40fcd {
background: linear-gradient(135deg, #c40fcd, #cd0f77);
}
.shadow-c40fcd {
box-shadow: 0 8px 24px rgb(196 15 205 / 0.35);
}
Electric Purple
#c40fcd rgb(196, 15, 205) hsl(297, 86%, 43%) Electric Purple
#18cd0f rgb(24, 205, 15) hsl(117, 86%, 43%) Lime Green
#cdc40f rgb(205, 196, 15) hsl(57, 86%, 43%) Citrine
#0fcdc4 rgb(15, 205, 196) hsl(177, 86%, 43%) Medium Turquoise