#c40cef ≈ Electric Purple
#c40cef is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.86% red, 4.71% green and 93.73% blue; printed in CMYK it uses 17.99% cyan, 94.98% magenta, 0% yellow and 6.27% black. Its hue angle is 288.63°, with 90.44% saturation and 49.22% 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.65:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.25.
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.1823 |
Shades
#c40cef mixed progressively with black.
Tints
#c40cef mixed progressively with white.
Tones
#c40cef mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c40cef {
color: #c40cef;
}
.bg-c40cef {
background-color: #c40cef;
color: #000000;
}
.border-c40cef {
border: 2px solid #c40cef;
}
:root {
--color-primary: #c40cef;
--color-primary-rgb: 196 12 239;
--color-primary-hsl: 289 90% 49%;
}
.gradient-c40cef {
background: linear-gradient(135deg, #c40cef, #ef0ca9);
}
.shadow-c40cef {
box-shadow: 0 8px 24px rgb(196 12 239 / 0.35);
}
Electric Purple
#c40cef rgb(196, 12, 239) hsl(289, 90%, 49%) Electric Purple
#37ef0c rgb(55, 239, 12) hsl(109, 90%, 49%) Neon Green
#efc40c rgb(239, 196, 12) hsl(49, 90%, 49%) Jonquil
#0cefc4 rgb(12, 239, 196) hsl(169, 90%, 49%) Aquamarine