#c842f4 ≈ Medium Orchid
#c842f4 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 78.43% red, 25.88% green and 95.69% blue; printed in CMYK it uses 18.03% cyan, 72.95% magenta, 0% yellow and 4.31% black. Its hue angle is 285.17°, with 89% saturation and 60.78% 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 5.54:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 5.03.
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.2271 |
Shades
#c842f4 mixed progressively with black.
Tints
#c842f4 mixed progressively with white.
Tones
#c842f4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c842f4 {
color: #c842f4;
}
.bg-c842f4 {
background-color: #c842f4;
color: #000000;
}
.border-c842f4 {
border: 2px solid #c842f4;
}
:root {
--color-primary: #c842f4;
--color-primary-rgb: 200 66 244;
--color-primary-hsl: 285 89% 61%;
}
.gradient-c842f4 {
background: linear-gradient(135deg, #c842f4, #f442c7);
}
.shadow-c842f4 {
box-shadow: 0 8px 24px rgb(200 66 244 / 0.35);
}
Medium Orchid
#c842f4 rgb(200, 66, 244) hsl(285, 89%, 61%) Medium Orchid
#6ef442 rgb(110, 244, 66) hsl(105, 89%, 61%) Neon Green
#f4c842 rgb(244, 200, 66) hsl(45, 89%, 61%) Saffron
#42f4c8 rgb(66, 244, 200) hsl(165, 89%, 61%) Aquamarine