#c22afa ≈ Electric Purple
#c22afa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 76.08% red, 16.47% green and 98.04% blue; printed in CMYK it uses 22.4% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 283.85°, with 95.41% saturation and 57.25% 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.01:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 2.47.
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.2003 |
Shades
#c22afa mixed progressively with black.
Tints
#c22afa mixed progressively with white.
Tones
#c22afa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c22afa {
color: #c22afa;
}
.bg-c22afa {
background-color: #c22afa;
color: #000000;
}
.border-c22afa {
border: 2px solid #c22afa;
}
:root {
--color-primary: #c22afa;
--color-primary-rgb: 194 42 250;
--color-primary-hsl: 284 95% 57%;
}
.gradient-c22afa {
background: linear-gradient(135deg, #c22afa, #fa2aca);
}
.shadow-c22afa {
box-shadow: 0 8px 24px rgb(194 42 250 / 0.35);
}
Electric Purple
#c22afa rgb(194, 42, 250) hsl(284, 95%, 57%) Electric Purple
#62fa2a rgb(98, 250, 42) hsl(104, 95%, 57%) Harlequin
#fac22a rgb(250, 194, 42) hsl(44, 95%, 57%) Golden Poppy
#2afac2 rgb(42, 250, 194) hsl(164, 95%, 57%) Aquamarine