#c940fa ≈ Medium Orchid
#c940fa is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 78.82% red, 25.1% green and 98.04% blue; printed in CMYK it uses 19.6% cyan, 74.4% magenta, 0% yellow and 1.96% black. Its hue angle is 284.19°, with 94.9% saturation and 61.57% 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.6:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 5.75.
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.2299 |
Shades
#c940fa mixed progressively with black.
Tints
#c940fa mixed progressively with white.
Tones
#c940fa mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c940fa {
color: #c940fa;
}
.bg-c940fa {
background-color: #c940fa;
color: #000000;
}
.border-c940fa {
border: 2px solid #c940fa;
}
:root {
--color-primary: #c940fa;
--color-primary-rgb: 201 64 250;
--color-primary-hsl: 284 95% 62%;
}
.gradient-c940fa {
background: linear-gradient(135deg, #c940fa, #fa40ce);
}
.shadow-c940fa {
box-shadow: 0 8px 24px rgb(201 64 250 / 0.35);
}
Medium Orchid
#c940fa rgb(201, 64, 250) hsl(284, 95%, 62%) Medium Orchid
#71fa40 rgb(113, 250, 64) hsl(104, 95%, 62%) Neon Green
#fac940 rgb(250, 201, 64) hsl(44, 95%, 62%) Sunglow
#40fac9 rgb(64, 250, 201) hsl(164, 95%, 62%) Aquamarine