#cc28fa ≈ Electric Purple
#cc28fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80% red, 15.69% green and 98.04% blue; printed in CMYK it uses 18.4% cyan, 84% magenta, 0% yellow and 1.96% black. Its hue angle is 286.86°, with 95.45% saturation and 56.86% 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 5.25:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 3.9.
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.2126 |
Shades
#cc28fa mixed progressively with black.
Tints
#cc28fa mixed progressively with white.
Tones
#cc28fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cc28fa {
color: #cc28fa;
}
.bg-cc28fa {
background-color: #cc28fa;
color: #000000;
}
.border-cc28fa {
border: 2px solid #cc28fa;
}
:root {
--color-primary: #cc28fa;
--color-primary-rgb: 204 40 250;
--color-primary-hsl: 287 95% 57%;
}
.gradient-cc28fa {
background: linear-gradient(135deg, #cc28fa, #fa28bf);
}
.shadow-cc28fa {
box-shadow: 0 8px 24px rgb(204 40 250 / 0.35);
}
Electric Purple
#cc28fa rgb(204, 40, 250) hsl(287, 95%, 57%) Electric Purple
#56fa28 rgb(86, 250, 40) hsl(107, 95%, 57%) Neon Green
#facc28 rgb(250, 204, 40) hsl(47, 95%, 57%) Jonquil
#28facc rgb(40, 250, 204) hsl(167, 95%, 57%) Aquamarine