#d040f6 ≈ Medium Orchid
#d040f6 is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 81.57% red, 25.1% green and 96.47% blue; printed in CMYK it uses 15.45% cyan, 73.98% magenta, 0% yellow and 3.53% black. Its hue angle is 287.47°, with 91% 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.75:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 5.49.
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.2373 |
Shades
#d040f6 mixed progressively with black.
Tints
#d040f6 mixed progressively with white.
Tones
#d040f6 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-d040f6 {
color: #d040f6;
}
.bg-d040f6 {
background-color: #d040f6;
color: #000000;
}
.border-d040f6 {
border: 2px solid #d040f6;
}
:root {
--color-primary: #d040f6;
--color-primary-rgb: 208 64 246;
--color-primary-hsl: 287 91% 61%;
}
.gradient-d040f6 {
background: linear-gradient(135deg, #d040f6, #f640c1);
}
.shadow-d040f6 {
box-shadow: 0 8px 24px rgb(208 64 246 / 0.35);
}
Medium Orchid
#d040f6 rgb(208, 64, 246) hsl(287, 91%, 61%) Medium Orchid
#66f640 rgb(102, 246, 64) hsl(107, 91%, 61%) Neon Green
#f6d040 rgb(246, 208, 64) hsl(47, 91%, 61%) Jonquil
#40f6d0 rgb(64, 246, 208) hsl(167, 91%, 61%) Aquamarine