#cd40dc ≈ Medium Orchid
#cd40dc is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 80.39% red, 25.1% green and 86.27% blue; printed in CMYK it uses 6.82% cyan, 70.91% magenta, 0% yellow and 13.73% black. Its hue angle is 294.23°, with 69.03% saturation and 55.69% 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 brand accents. Black text on this color reaches a contrast ratio of 5.36:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 3.64.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc33cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2181 |
Shades
#cd40dc mixed progressively with black.
Tints
#cd40dc mixed progressively with white.
Tones
#cd40dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-cd40dc {
color: #cd40dc;
}
.bg-cd40dc {
background-color: #cd40dc;
color: #000000;
}
.border-cd40dc {
border: 2px solid #cd40dc;
}
:root {
--color-primary: #cd40dc;
--color-primary-rgb: 205 64 220;
--color-primary-hsl: 294 69% 56%;
}
.gradient-cd40dc {
background: linear-gradient(135deg, #cd40dc, #dc409d);
}
.shadow-cd40dc {
box-shadow: 0 8px 24px rgb(205 64 220 / 0.35);
}
Medium Orchid
#cd40dc rgb(205, 64, 220) hsl(294, 69%, 56%) Medium Orchid
#4fdc40 rgb(79, 220, 64) hsl(114, 69%, 56%) Malachite
#dccd40 rgb(220, 205, 64) hsl(54, 69%, 56%) Citrine
#40dccd rgb(64, 220, 205) hsl(174, 69%, 56%) Turquoise