#ba42ea ≈ Medium Orchid
#ba42ea 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 91.76% blue; printed in CMYK it uses 20.51% cyan, 71.79% magenta, 0% yellow and 8.24% black. Its hue angle is 282.86°, with 80% saturation and 58.82% 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 brand accents. Black text on this color reaches a contrast ratio of 5.06:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 4.64.
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.2028 |
Shades
#ba42ea mixed progressively with black.
Tints
#ba42ea mixed progressively with white.
Tones
#ba42ea mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba42ea {
color: #ba42ea;
}
.bg-ba42ea {
background-color: #ba42ea;
color: #000000;
}
.border-ba42ea {
border: 2px solid #ba42ea;
}
:root {
--color-primary: #ba42ea;
--color-primary-rgb: 186 66 234;
--color-primary-hsl: 283 80% 59%;
}
.gradient-ba42ea {
background: linear-gradient(135deg, #ba42ea, #ea42c6);
}
.shadow-ba42ea {
box-shadow: 0 8px 24px rgb(186 66 234 / 0.35);
}
Medium Orchid
#ba42ea rgb(186, 66, 234) hsl(283, 80%, 59%) Medium Orchid
#72ea42 rgb(114, 234, 66) hsl(103, 80%, 59%) Lawn Green
#eaba42 rgb(234, 186, 66) hsl(43, 80%, 59%) Meat Brown
#42eaba rgb(66, 234, 186) hsl(163, 80%, 59%) Aquamarine