#d902ed ≈ Electric Purple
#d902ed is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 85.1% red, 0.78% green and 92.94% blue; printed in CMYK it uses 8.44% cyan, 99.16% magenta, 0% yellow and 7.06% black. Its hue angle is 294.89°, with 98.33% saturation and 46.86% 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.18:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.49.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00ff |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2091 |
Shades
#d902ed mixed progressively with black.
Tints
#d902ed mixed progressively with white.
Tones
#d902ed mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d902ed {
color: #d902ed;
}
.bg-d902ed {
background-color: #d902ed;
color: #000000;
}
.border-d902ed {
border: 2px solid #d902ed;
}
:root {
--color-primary: #d902ed;
--color-primary-rgb: 217 2 237;
--color-primary-hsl: 295 98% 47%;
}
.gradient-d902ed {
background: linear-gradient(135deg, #d902ed, #ed028c);
}
.shadow-d902ed {
box-shadow: 0 8px 24px rgb(217 2 237 / 0.35);
}
Electric Purple
#d902ed rgb(217, 2, 237) hsl(295, 98%, 47%) Electric Purple
#16ed02 rgb(22, 237, 2) hsl(115, 98%, 47%) Lime
#edd902 rgb(237, 217, 2) hsl(55, 98%, 47%) Citrine
#02edd9 rgb(2, 237, 217) hsl(175, 98%, 47%) Bright Turquoise