#dc12dc ≈ Medium Orchid
#dc12dc is a color from the magenta family, with medium lightness and vivid saturation. In the RGB model it is made of 86.27% red, 7.06% green and 86.27% blue; printed in CMYK it uses 0% cyan, 91.82% magenta, 0% yellow and 13.73% black. Its hue angle is 300°, with 84.87% saturation and 46.67% 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.16:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 6.7.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc00cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2082 |
Shades
#dc12dc mixed progressively with black.
Tints
#dc12dc mixed progressively with white.
Tones
#dc12dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-dc12dc {
color: #dc12dc;
}
.bg-dc12dc {
background-color: #dc12dc;
color: #000000;
}
.border-dc12dc {
border: 2px solid #dc12dc;
}
:root {
--color-primary: #dc12dc;
--color-primary-rgb: 220 18 220;
--color-primary-hsl: 300 85% 47%;
}
.gradient-dc12dc {
background: linear-gradient(135deg, #dc12dc, #dc1277);
}
.shadow-dc12dc {
box-shadow: 0 8px 24px rgb(220 18 220 / 0.35);
}
Medium Orchid
#dc12dc rgb(220, 18, 220) hsl(300, 85%, 47%) Medium Orchid
#12dc12 rgb(18, 220, 18) hsl(120, 85%, 47%) Lime Green
#dcdc12 rgb(220, 220, 18) hsl(60, 85%, 47%) Titanium Yellow
#12dcdc rgb(18, 220, 220) hsl(180, 85%, 47%) Medium Turquoise