#cd42ff ≈ Medium Orchid
#cd42ff is a color from the magenta family, with high lightness and strong saturation. In the RGB model it is made of 80.39% red, 25.88% green and 100% blue; printed in CMYK it uses 19.61% cyan, 74.12% magenta, 0% yellow and 0% black. Its hue angle is 284.13°, with 100% saturation and 62.94% 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.82:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 6.3.
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.241 |
Shades
#cd42ff mixed progressively with black.
Tints
#cd42ff mixed progressively with white.
Tones
#cd42ff mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd42ff {
color: #cd42ff;
}
.bg-cd42ff {
background-color: #cd42ff;
color: #000000;
}
.border-cd42ff {
border: 2px solid #cd42ff;
}
:root {
--color-primary: #cd42ff;
--color-primary-rgb: 205 66 255;
--color-primary-hsl: 284 100% 63%;
}
.gradient-cd42ff {
background: linear-gradient(135deg, #cd42ff, #ff42d2);
}
.shadow-cd42ff {
box-shadow: 0 8px 24px rgb(205 66 255 / 0.35);
}
Medium Orchid
#cd42ff rgb(205, 66, 255) hsl(284, 100%, 63%) Medium Orchid
#74ff42 rgb(116, 255, 66) hsl(104, 100%, 63%) Harlequin
#ffcd42 rgb(255, 205, 66) hsl(44, 100%, 63%) Sunglow
#42ffcd rgb(66, 255, 205) hsl(164, 100%, 63%) Aquamarine