#c42fec ≈ Electric Purple
#c42fec is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.86% red, 18.43% green and 92.55% blue; printed in CMYK it uses 16.95% cyan, 80.08% magenta, 0% yellow and 7.45% black. Its hue angle is 287.3°, with 83.26% saturation and 55.49% 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.96:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.64.
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.1982 |
Shades
#c42fec mixed progressively with black.
Tints
#c42fec mixed progressively with white.
Tones
#c42fec mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c42fec {
color: #c42fec;
}
.bg-c42fec {
background-color: #c42fec;
color: #000000;
}
.border-c42fec {
border: 2px solid #c42fec;
}
:root {
--color-primary: #c42fec;
--color-primary-rgb: 196 47 236;
--color-primary-hsl: 287 83% 55%;
}
.gradient-c42fec {
background: linear-gradient(135deg, #c42fec, #ec2fb6);
}
.shadow-c42fec {
box-shadow: 0 8px 24px rgb(196 47 236 / 0.35);
}
Electric Purple
#c42fec rgb(196, 47, 236) hsl(287, 83%, 55%) Electric Purple
#57ec2f rgb(87, 236, 47) hsl(107, 83%, 55%) Neon Green
#ecc42f rgb(236, 196, 47) hsl(47, 83%, 55%) Saffron
#2fecc4 rgb(47, 236, 196) hsl(167, 83%, 55%) Aquamarine