#c304fa ≈ Electric Purple
#c304fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.47% red, 1.57% green and 98.04% blue; printed in CMYK it uses 22% cyan, 98.4% magenta, 0% yellow and 1.96% black. Its hue angle is 286.59°, with 96.85% saturation and 49.8% 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.72:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 0.98.
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.1859 |
Shades
#c304fa mixed progressively with black.
Tints
#c304fa mixed progressively with white.
Tones
#c304fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c304fa {
color: #c304fa;
}
.bg-c304fa {
background-color: #c304fa;
color: #000000;
}
.border-c304fa {
border: 2px solid #c304fa;
}
:root {
--color-primary: #c304fa;
--color-primary-rgb: 195 4 250;
--color-primary-hsl: 287 97% 50%;
}
.gradient-c304fa {
background: linear-gradient(135deg, #c304fa, #fa04b6);
}
.shadow-c304fa {
box-shadow: 0 8px 24px rgb(195 4 250 / 0.35);
}
Electric Purple
#c304fa rgb(195, 4, 250) hsl(287, 97%, 50%) Electric Purple
#3bfa04 rgb(59, 250, 4) hsl(107, 97%, 50%) Neon Green
#fac304 rgb(250, 195, 4) hsl(47, 97%, 50%) Golden Poppy
#04fac3 rgb(4, 250, 195) hsl(167, 97%, 50%) Aquamarine