#c242fa ≈ Electric Purple
#c242fa is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.08% red, 25.88% green and 98.04% blue; printed in CMYK it uses 22.4% cyan, 73.6% magenta, 0% yellow and 1.96% black. Its hue angle is 281.74°, with 94.85% saturation and 61.96% 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.45:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.21.
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.2227 |
Shades
#c242fa mixed progressively with black.
Tints
#c242fa mixed progressively with white.
Tones
#c242fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c242fa {
color: #c242fa;
}
.bg-c242fa {
background-color: #c242fa;
color: #000000;
}
.border-c242fa {
border: 2px solid #c242fa;
}
:root {
--color-primary: #c242fa;
--color-primary-rgb: 194 66 250;
--color-primary-hsl: 282 95% 62%;
}
.gradient-c242fa {
background: linear-gradient(135deg, #c242fa, #fa42d6);
}
.shadow-c242fa {
box-shadow: 0 8px 24px rgb(194 66 250 / 0.35);
}
Electric Purple
#c242fa rgb(194, 66, 250) hsl(282, 95%, 62%) Electric Purple
#7afa42 rgb(122, 250, 66) hsl(102, 95%, 62%) Lawn Green
#fac242 rgb(250, 194, 66) hsl(42, 95%, 62%) Saffron
#42fac2 rgb(66, 250, 194) hsl(162, 95%, 62%) Aquamarine