#cd2ffa ≈ Electric Purple
#cd2ffa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 80.39% red, 18.43% green and 98.04% blue; printed in CMYK it uses 18% cyan, 81.2% magenta, 0% yellow and 1.96% black. Its hue angle is 286.7°, with 95.31% saturation and 58.24% 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.38:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.61.
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.2191 |
Shades
#cd2ffa mixed progressively with black.
Tints
#cd2ffa mixed progressively with white.
Tones
#cd2ffa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd2ffa {
color: #cd2ffa;
}
.bg-cd2ffa {
background-color: #cd2ffa;
color: #000000;
}
.border-cd2ffa {
border: 2px solid #cd2ffa;
}
:root {
--color-primary: #cd2ffa;
--color-primary-rgb: 205 47 250;
--color-primary-hsl: 287 95% 58%;
}
.gradient-cd2ffa {
background: linear-gradient(135deg, #cd2ffa, #fa2fc2);
}
.shadow-cd2ffa {
box-shadow: 0 8px 24px rgb(205 47 250 / 0.35);
}
Electric Purple
#cd2ffa rgb(205, 47, 250) hsl(287, 95%, 58%) Electric Purple
#5cfa2f rgb(92, 250, 47) hsl(107, 95%, 58%) Neon Green
#facd2f rgb(250, 205, 47) hsl(47, 95%, 58%) Jonquil
#2ffacd rgb(47, 250, 205) hsl(167, 95%, 58%) Aquamarine