#d020fa ≈ Electric Purple
#d020fa is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.57% red, 12.55% green and 98.04% blue; printed in CMYK it uses 16.8% cyan, 87.2% magenta, 0% yellow and 1.96% black. Its hue angle is 288.44°, with 95.61% saturation and 55.29% 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.27:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 4.13.
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.2135 |
Shades
#d020fa mixed progressively with black.
Tints
#d020fa mixed progressively with white.
Tones
#d020fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d020fa {
color: #d020fa;
}
.bg-d020fa {
background-color: #d020fa;
color: #000000;
}
.border-d020fa {
border: 2px solid #d020fa;
}
:root {
--color-primary: #d020fa;
--color-primary-rgb: 208 32 250;
--color-primary-hsl: 288 96% 55%;
}
.gradient-d020fa {
background: linear-gradient(135deg, #d020fa, #fa20b7);
}
.shadow-d020fa {
box-shadow: 0 8px 24px rgb(208 32 250 / 0.35);
}
Electric Purple
#d020fa rgb(208, 32, 250) hsl(288, 96%, 55%) Electric Purple
#4afa20 rgb(74, 250, 32) hsl(108, 96%, 55%) Neon Green
#fad020 rgb(250, 208, 32) hsl(48, 96%, 55%) Cyber Yellow
#20fad0 rgb(32, 250, 208) hsl(168, 96%, 55%) Aquamarine