#ba42e4 ≈ Medium Orchid
#ba42e4 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 89.41% blue; printed in CMYK it uses 18.42% cyan, 71.05% magenta, 0% yellow and 10.59% black. Its hue angle is 284.44°, with 75% saturation and 57.65% 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 4.99:1 (WCAG AA). The closest named color is Medium Orchid (#ba55d3), ΔE 4.14.
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.1994 |
Shades
#ba42e4 mixed progressively with black.
Tints
#ba42e4 mixed progressively with white.
Tones
#ba42e4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-ba42e4 {
color: #ba42e4;
}
.bg-ba42e4 {
background-color: #ba42e4;
color: #000000;
}
.border-ba42e4 {
border: 2px solid #ba42e4;
}
:root {
--color-primary: #ba42e4;
--color-primary-rgb: 186 66 228;
--color-primary-hsl: 284 75% 58%;
}
.gradient-ba42e4 {
background: linear-gradient(135deg, #ba42e4, #e442bd);
}
.shadow-ba42e4 {
box-shadow: 0 8px 24px rgb(186 66 228 / 0.35);
}
Medium Orchid
#ba42e4 rgb(186, 66, 228) hsl(284, 75%, 58%) Medium Orchid
#6ce442 rgb(108, 228, 66) hsl(104, 75%, 58%) Malachite
#e4ba42 rgb(228, 186, 66) hsl(44, 75%, 58%) Meat Brown
#42e4ba rgb(66, 228, 186) hsl(164, 75%, 58%) Medium Aquamarine