#c504cf ≈ Electric Purple
#c504cf is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 77.25% red, 1.57% green and 81.18% blue; printed in CMYK it uses 4.83% cyan, 98.07% magenta, 0% yellow and 18.82% black. Its hue angle is 297.04°, with 96.21% saturation and 41.37% 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.66.
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.1646 |
Shades
#c504cf mixed progressively with black.
Tints
#c504cf mixed progressively with white.
Tones
#c504cf mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c504cf {
color: #c504cf;
}
.bg-c504cf {
background-color: #c504cf;
color: #ffffff;
}
.border-c504cf {
border: 2px solid #c504cf;
}
:root {
--color-primary: #c504cf;
--color-primary-rgb: 197 4 207;
--color-primary-hsl: 297 96% 41%;
}
.gradient-c504cf {
background: linear-gradient(135deg, #c504cf, #cf0474);
}
.shadow-c504cf {
box-shadow: 0 8px 24px rgb(197 4 207 / 0.35);
}
Electric Purple
#c504cf rgb(197, 4, 207) hsl(297, 96%, 41%) Electric Purple
#0ecf04 rgb(14, 207, 4) hsl(117, 96%, 41%) Lime Green
#cfc504 rgb(207, 197, 4) hsl(57, 96%, 41%) Citrine
#04cfc5 rgb(4, 207, 197) hsl(177, 96%, 41%) Medium Turquoise