#cf30fa ≈ Electric Purple
#cf30fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 18.82% green and 98.04% blue; printed in CMYK it uses 17.2% cyan, 80.8% magenta, 0% yellow and 1.96% black. Its hue angle is 287.23°, with 95.28% saturation and 58.43% 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.46:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.02.
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.2228 |
Shades
#cf30fa mixed progressively with black.
Tints
#cf30fa mixed progressively with white.
Tones
#cf30fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf30fa {
color: #cf30fa;
}
.bg-cf30fa {
background-color: #cf30fa;
color: #000000;
}
.border-cf30fa {
border: 2px solid #cf30fa;
}
:root {
--color-primary: #cf30fa;
--color-primary-rgb: 207 48 250;
--color-primary-hsl: 287 95% 58%;
}
.gradient-cf30fa {
background: linear-gradient(135deg, #cf30fa, #fa30c0);
}
.shadow-cf30fa {
box-shadow: 0 8px 24px rgb(207 48 250 / 0.35);
}
Electric Purple
#cf30fa rgb(207, 48, 250) hsl(287, 95%, 58%) Electric Purple
#5bfa30 rgb(91, 250, 48) hsl(107, 95%, 58%) Neon Green
#facf30 rgb(250, 207, 48) hsl(47, 95%, 58%) Jonquil
#30facf rgb(48, 250, 207) hsl(167, 95%, 58%) Aquamarine