#dc02fb ≈ Electric Purple
#dc02fb is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 0.78% green and 98.43% blue; printed in CMYK it uses 12.35% cyan, 99.2% magenta, 0% yellow and 1.57% black. Its hue angle is 292.53°, 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.44:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.53.
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.2222 |
Shades
#dc02fb mixed progressively with black.
Tints
#dc02fb mixed progressively with white.
Tones
#dc02fb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc02fb {
color: #dc02fb;
}
.bg-dc02fb {
background-color: #dc02fb;
color: #000000;
}
.border-dc02fb {
border: 2px solid #dc02fb;
}
:root {
--color-primary: #dc02fb;
--color-primary-rgb: 220 2 251;
--color-primary-hsl: 293 98% 50%;
}
.gradient-dc02fb {
background: linear-gradient(135deg, #dc02fb, #fb029e);
}
.shadow-dc02fb {
box-shadow: 0 8px 24px rgb(220 2 251 / 0.35);
}
Electric Purple
#dc02fb rgb(220, 2, 251) hsl(293, 98%, 50%) Electric Purple
#21fb02 rgb(33, 251, 2) hsl(113, 98%, 50%) Lime
#fbdc02 rgb(251, 220, 2) hsl(53, 98%, 50%) Golden Yellow
#02fbdc rgb(2, 251, 220) hsl(173, 98%, 50%) Turquoise Blue