#dc02eb ≈ Electric Purple
#dc02eb 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 92.16% blue; printed in CMYK it uses 6.38% cyan, 99.15% magenta, 0% yellow and 7.84% black. Its hue angle is 296.14°, with 98.31% saturation and 46.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.25:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 6.15.
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.2126 |
Shades
#dc02eb mixed progressively with black.
Tints
#dc02eb mixed progressively with white.
Tones
#dc02eb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc02eb {
color: #dc02eb;
}
.bg-dc02eb {
background-color: #dc02eb;
color: #000000;
}
.border-dc02eb {
border: 2px solid #dc02eb;
}
:root {
--color-primary: #dc02eb;
--color-primary-rgb: 220 2 235;
--color-primary-hsl: 296 98% 46%;
}
.gradient-dc02eb {
background: linear-gradient(135deg, #dc02eb, #eb0285);
}
.shadow-dc02eb {
box-shadow: 0 8px 24px rgb(220 2 235 / 0.35);
}
Electric Purple
#dc02eb rgb(220, 2, 235) hsl(296, 98%, 46%) Electric Purple
#11eb02 rgb(17, 235, 2) hsl(116, 98%, 46%) Lime
#ebdc02 rgb(235, 220, 2) hsl(56, 98%, 46%) Dandelion
#02ebdc rgb(2, 235, 220) hsl(176, 98%, 46%) Bright Turquoise