#ba42dc ≈ Medium Orchid
#ba42dc is a color from the magenta family, with medium lightness and strong saturation. In the RGB model it is made of 72.94% red, 25.88% green and 86.27% blue; printed in CMYK it uses 15.45% cyan, 70% magenta, 0% yellow and 13.73% black. Its hue angle is 286.75°, with 68.75% saturation and 56.08% 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 4.9:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 3.67.
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.195 |
Shades
#ba42dc mixed progressively with black.
Tints
#ba42dc mixed progressively with white.
Tones
#ba42dc mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba42dc {
color: #ba42dc;
}
.bg-ba42dc {
background-color: #ba42dc;
color: #000000;
}
.border-ba42dc {
border: 2px solid #ba42dc;
}
:root {
--color-primary: #ba42dc;
--color-primary-rgb: 186 66 220;
--color-primary-hsl: 287 69% 56%;
}
.gradient-ba42dc {
background: linear-gradient(135deg, #ba42dc, #dc42b1);
}
.shadow-ba42dc {
box-shadow: 0 8px 24px rgb(186 66 220 / 0.35);
}
Medium Orchid
#ba42dc rgb(186, 66, 220) hsl(287, 69%, 56%) Medium Orchid
#64dc42 rgb(100, 220, 66) hsl(107, 69%, 56%) Lime Green
#dcba42 rgb(220, 186, 66) hsl(47, 69%, 56%) Old Gold
#42dcba rgb(66, 220, 186) hsl(167, 69%, 56%) Medium Aquamarine