#d221ff ≈ Electric Purple
#d221ff is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 82.35% red, 12.94% green and 100% blue; printed in CMYK it uses 17.65% cyan, 87.06% magenta, 0% yellow and 0% black. Its hue angle is 287.84°, with 100% saturation and 56.47% 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.4:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.56.
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.2201 |
Shades
#d221ff mixed progressively with black.
Tints
#d221ff mixed progressively with white.
Tones
#d221ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d221ff {
color: #d221ff;
}
.bg-d221ff {
background-color: #d221ff;
color: #000000;
}
.border-d221ff {
border: 2px solid #d221ff;
}
:root {
--color-primary: #d221ff;
--color-primary-rgb: 210 33 255;
--color-primary-hsl: 288 100% 56%;
}
.gradient-d221ff {
background: linear-gradient(135deg, #d221ff, #ff21bd);
}
.shadow-d221ff {
box-shadow: 0 8px 24px rgb(210 33 255 / 0.35);
}
Electric Purple
#d221ff rgb(210, 33, 255) hsl(288, 100%, 56%) Electric Purple
#4eff21 rgb(78, 255, 33) hsl(108, 100%, 56%) Harlequin
#ffd221 rgb(255, 210, 33) hsl(48, 100%, 56%) Cyber Yellow
#21ffd2 rgb(33, 255, 210) hsl(168, 100%, 56%) Aquamarine