#c828fe ≈ Electric Purple
#c828fe is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 78.43% red, 15.69% green and 99.61% blue; printed in CMYK it uses 21.26% cyan, 84.25% magenta, 0% yellow and 0.39% black. Its hue angle is 284.86°, with 99.07% saturation and 57.65% lightness in HSL. It is a cool color, 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 5.19:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.27.
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.2095 |
Shades
#c828fe mixed progressively with black.
Tints
#c828fe mixed progressively with white.
Tones
#c828fe mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c828fe {
color: #c828fe;
}
.bg-c828fe {
background-color: #c828fe;
color: #000000;
}
.border-c828fe {
border: 2px solid #c828fe;
}
:root {
--color-primary: #c828fe;
--color-primary-rgb: 200 40 254;
--color-primary-hsl: 285 99% 58%;
}
.gradient-c828fe {
background: linear-gradient(135deg, #c828fe, #fe28c9);
}
.shadow-c828fe {
box-shadow: 0 8px 24px rgb(200 40 254 / 0.35);
}
Electric Purple
#c828fe rgb(200, 40, 254) hsl(285, 99%, 58%) Electric Purple
#5efe28 rgb(94, 254, 40) hsl(105, 99%, 58%) Harlequin
#fec828 rgb(254, 200, 40) hsl(45, 99%, 58%) Sunglow
#28fec8 rgb(40, 254, 200) hsl(165, 99%, 58%) Aquamarine