#c842fb ≈ Medium Orchid
#c842fb is a color from the magenta family, with high lightness and strong saturation. In the RGB model it is made of 78.43% red, 25.88% green and 98.43% blue; printed in CMYK it uses 20.32% cyan, 73.71% magenta, 0% yellow and 1.57% black. Its hue angle is 283.46°, with 95.85% saturation and 62.16% 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.63:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 5.8.
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.2314 |
Shades
#c842fb mixed progressively with black.
Tints
#c842fb mixed progressively with white.
Tones
#c842fb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c842fb {
color: #c842fb;
}
.bg-c842fb {
background-color: #c842fb;
color: #000000;
}
.border-c842fb {
border: 2px solid #c842fb;
}
:root {
--color-primary: #c842fb;
--color-primary-rgb: 200 66 251;
--color-primary-hsl: 283 96% 62%;
}
.gradient-c842fb {
background: linear-gradient(135deg, #c842fb, #fb42d1);
}
.shadow-c842fb {
box-shadow: 0 8px 24px rgb(200 66 251 / 0.35);
}
Medium Orchid
#c842fb rgb(200, 66, 251) hsl(283, 96%, 62%) Medium Orchid
#75fb42 rgb(117, 251, 66) hsl(103, 96%, 62%) Lawn Green
#fbc842 rgb(251, 200, 66) hsl(43, 96%, 62%) Sunglow
#42fbc8 rgb(66, 251, 200) hsl(163, 96%, 62%) Aquamarine