#8a267e ≈ Mardi Gras
#8a267e is a color from the magenta family, with low lightness and moderate saturation. In the RGB model it is made of 54.12% red, 14.9% green and 49.41% blue; printed in CMYK it uses 0% cyan, 72.46% magenta, 8.7% yellow and 45.88% black. Its hue angle is 307.2°, with 56.82% saturation and 34.51% 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 corporate identities. White text on this color reaches a contrast ratio of 7.9:1 (WCAG AAA). The closest named color is Mardi Gras (#880085), ΔE 4.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #993366 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.083 |
Shades
#8a267e mixed progressively with black.
Tints
#8a267e mixed progressively with white.
Tones
#8a267e mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a267e {
color: #8a267e;
}
.bg-8a267e {
background-color: #8a267e;
color: #ffffff;
}
.border-8a267e {
border: 2px solid #8a267e;
}
:root {
--color-primary: #8a267e;
--color-primary-rgb: 138 38 126;
--color-primary-hsl: 307 57% 35%;
}
.gradient-8a267e {
background: linear-gradient(135deg, #8a267e, #8a264c);
}
.shadow-8a267e {
box-shadow: 0 8px 24px rgb(138 38 126 / 0.35);
}
Mardi Gras
#8a267e rgb(138, 38, 126) hsl(307, 57%, 35%) Mardi Gras
#268a32 rgb(38, 138, 50) hsl(127, 57%, 35%) Forest Green
#7e8a26 rgb(126, 138, 38) hsl(67, 57%, 35%) Olive
#267e8a rgb(38, 126, 138) hsl(187, 57%, 35%) Teal Blue