#c340f5 ≈ Electric Purple
#c340f5 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 96.08% blue; printed in CMYK it uses 20.41% cyan, 73.88% magenta, 0% yellow and 3.92% black. Its hue angle is 283.43°, with 90.05% saturation and 60.59% 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.37: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.2186 |
Shades
#c340f5 mixed progressively with black.
Tints
#c340f5 mixed progressively with white.
Tones
#c340f5 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c340f5 {
color: #c340f5;
}
.bg-c340f5 {
background-color: #c340f5;
color: #000000;
}
.border-c340f5 {
border: 2px solid #c340f5;
}
:root {
--color-primary: #c340f5;
--color-primary-rgb: 195 64 245;
--color-primary-hsl: 283 90% 61%;
}
.gradient-c340f5 {
background: linear-gradient(135deg, #c340f5, #f540cc);
}
.shadow-c340f5 {
box-shadow: 0 8px 24px rgb(195 64 245 / 0.35);
}
Electric Purple
#c340f5 rgb(195, 64, 245) hsl(283, 90%, 61%) Electric Purple
#72f540 rgb(114, 245, 64) hsl(103, 90%, 61%) Lawn Green
#f5c340 rgb(245, 195, 64) hsl(43, 90%, 61%) Saffron
#40f5c3 rgb(64, 245, 195) hsl(163, 90%, 61%) Aquamarine