#c702d7 ≈ Electric Purple
#c702d7 is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 78.04% red, 0.78% green and 84.31% blue; printed in CMYK it uses 7.44% cyan, 99.07% magenta, 0% yellow and 15.69% black. Its hue angle is 295.49°, with 98.16% saturation and 42.55% 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. White text on this color reaches a contrast ratio of 4.75:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.61.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1709 |
Shades
#c702d7 mixed progressively with black.
Tints
#c702d7 mixed progressively with white.
Tones
#c702d7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c702d7 {
color: #c702d7;
}
.bg-c702d7 {
background-color: #c702d7;
color: #ffffff;
}
.border-c702d7 {
border: 2px solid #c702d7;
}
:root {
--color-primary: #c702d7;
--color-primary-rgb: 199 2 215;
--color-primary-hsl: 295 98% 43%;
}
.gradient-c702d7 {
background: linear-gradient(135deg, #c702d7, #d7027d);
}
.shadow-c702d7 {
box-shadow: 0 8px 24px rgb(199 2 215 / 0.35);
}
Electric Purple
#c702d7 rgb(199, 2, 215) hsl(295, 98%, 43%) Electric Purple
#12d702 rgb(18, 215, 2) hsl(115, 98%, 43%) Lime Green
#d7c702 rgb(215, 199, 2) hsl(55, 98%, 43%) Citrine
#02d7c7 rgb(2, 215, 199) hsl(175, 98%, 43%) Turquoise