#d502fb ≈ Electric Purple
#d502fb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 83.53% red, 0.78% green and 98.43% blue; printed in CMYK it uses 15.14% cyan, 99.2% magenta, 0% yellow and 1.57% black. Its hue angle is 290.84°, with 98.42% saturation and 49.61% 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.23:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.2.
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.2115 |
Shades
#d502fb mixed progressively with black.
Tints
#d502fb mixed progressively with white.
Tones
#d502fb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d502fb {
color: #d502fb;
}
.bg-d502fb {
background-color: #d502fb;
color: #000000;
}
.border-d502fb {
border: 2px solid #d502fb;
}
:root {
--color-primary: #d502fb;
--color-primary-rgb: 213 2 251;
--color-primary-hsl: 291 98% 50%;
}
.gradient-d502fb {
background: linear-gradient(135deg, #d502fb, #fb02a5);
}
.shadow-d502fb {
box-shadow: 0 8px 24px rgb(213 2 251 / 0.35);
}
Electric Purple
#d502fb rgb(213, 2, 251) hsl(291, 98%, 50%) Electric Purple
#28fb02 rgb(40, 251, 2) hsl(111, 98%, 50%) Lime
#fbd502 rgb(251, 213, 2) hsl(51, 98%, 50%) Gold
#02fbd5 rgb(2, 251, 213) hsl(171, 98%, 50%) Aquamarine