#cf18dc ≈ Electric Purple
#cf18dc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 81.18% red, 9.41% green and 86.27% blue; printed in CMYK it uses 5.91% cyan, 89.09% magenta, 0% yellow and 13.73% black. Its hue angle is 296.02°, with 80.33% saturation and 47.84% 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 4.82:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.81.
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.1909 |
Shades
#cf18dc mixed progressively with black.
Tints
#cf18dc mixed progressively with white.
Tones
#cf18dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cf18dc {
color: #cf18dc;
}
.bg-cf18dc {
background-color: #cf18dc;
color: #000000;
}
.border-cf18dc {
border: 2px solid #cf18dc;
}
:root {
--color-primary: #cf18dc;
--color-primary-rgb: 207 24 220;
--color-primary-hsl: 296 80% 48%;
}
.gradient-cf18dc {
background: linear-gradient(135deg, #cf18dc, #dc1887);
}
.shadow-cf18dc {
box-shadow: 0 8px 24px rgb(207 24 220 / 0.35);
}
Electric Purple
#cf18dc rgb(207, 24, 220) hsl(296, 80%, 48%) Electric Purple
#25dc18 rgb(37, 220, 24) hsl(116, 80%, 48%) Lime Green
#dccf18 rgb(220, 207, 24) hsl(56, 80%, 48%) Citrine
#18dccf rgb(24, 220, 207) hsl(176, 80%, 48%) Turquoise