#cd2af5 ≈ Electric Purple
#cd2af5 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 96.08% blue; printed in CMYK it uses 16.33% cyan, 82.86% magenta, 0% yellow and 3.92% black. Its hue angle is 288.18°, with 91.03% saturation and 56.27% 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.25:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.27.
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.2123 |
Shades
#cd2af5 mixed progressively with black.
Tints
#cd2af5 mixed progressively with white.
Tones
#cd2af5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd2af5 {
color: #cd2af5;
}
.bg-cd2af5 {
background-color: #cd2af5;
color: #000000;
}
.border-cd2af5 {
border: 2px solid #cd2af5;
}
:root {
--color-primary: #cd2af5;
--color-primary-rgb: 205 42 245;
--color-primary-hsl: 288 91% 56%;
}
.gradient-cd2af5 {
background: linear-gradient(135deg, #cd2af5, #f52ab7);
}
.shadow-cd2af5 {
box-shadow: 0 8px 24px rgb(205 42 245 / 0.35);
}
Electric Purple
#cd2af5 rgb(205, 42, 245) hsl(288, 91%, 56%) Electric Purple
#52f52a rgb(82, 245, 42) hsl(108, 91%, 56%) Neon Green
#f5cd2a rgb(245, 205, 42) hsl(48, 91%, 56%) Jonquil
#2af5cd rgb(42, 245, 205) hsl(168, 91%, 56%) Aquamarine