#cd2afa ≈ Electric Purple
#cd2afa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 16.47% green and 98.04% blue; printed in CMYK it uses 18% cyan, 83.2% magenta, 0% yellow and 1.96% black. Its hue angle is 287.02°, with 95.41% saturation and 57.25% 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.31:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.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.2154 |
Shades
#cd2afa mixed progressively with black.
Tints
#cd2afa mixed progressively with white.
Tones
#cd2afa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd2afa {
color: #cd2afa;
}
.bg-cd2afa {
background-color: #cd2afa;
color: #000000;
}
.border-cd2afa {
border: 2px solid #cd2afa;
}
:root {
--color-primary: #cd2afa;
--color-primary-rgb: 205 42 250;
--color-primary-hsl: 287 95% 57%;
}
.gradient-cd2afa {
background: linear-gradient(135deg, #cd2afa, #fa2abf);
}
.shadow-cd2afa {
box-shadow: 0 8px 24px rgb(205 42 250 / 0.35);
}
Electric Purple
#cd2afa rgb(205, 42, 250) hsl(287, 95%, 57%) Electric Purple
#57fa2a rgb(87, 250, 42) hsl(107, 95%, 57%) Neon Green
#facd2a rgb(250, 205, 42) hsl(47, 95%, 57%) Jonquil
#2afacd rgb(42, 250, 205) hsl(167, 95%, 57%) Aquamarine