#c340f8 ≈ Electric Purple
#c340f8 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 76.47% red, 25.1% green and 97.25% blue; printed in CMYK it uses 21.37% cyan, 74.19% magenta, 0% yellow and 2.75% black. Its hue angle is 282.72°, with 92.93% saturation and 61.18% lightness in HSL. It is a cool color, 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.41:1 (WCAG AA). The closest named color is Electric Purple (#bf00ff), ΔE 5.02.
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.2205 |
Shades
#c340f8 mixed progressively with black.
Tints
#c340f8 mixed progressively with white.
Tones
#c340f8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c340f8 {
color: #c340f8;
}
.bg-c340f8 {
background-color: #c340f8;
color: #000000;
}
.border-c340f8 {
border: 2px solid #c340f8;
}
:root {
--color-primary: #c340f8;
--color-primary-rgb: 195 64 248;
--color-primary-hsl: 283 93% 61%;
}
.gradient-c340f8 {
background: linear-gradient(135deg, #c340f8, #f840d1);
}
.shadow-c340f8 {
box-shadow: 0 8px 24px rgb(195 64 248 / 0.35);
}
Electric Purple
#c340f8 rgb(195, 64, 248) hsl(283, 93%, 61%) Electric Purple
#75f840 rgb(117, 248, 64) hsl(103, 93%, 61%) Lawn Green
#f8c340 rgb(248, 195, 64) hsl(43, 93%, 61%) Saffron
#40f8c3 rgb(64, 248, 195) hsl(163, 93%, 61%) Aquamarine