#af79b2 ≈ Purple Mountain Majesty
#af79b2 is a color from the magenta family, with medium lightness and muted saturation. In the RGB model it is made of 68.63% red, 47.45% green and 69.8% blue; printed in CMYK it uses 1.69% cyan, 32.02% magenta, 0% yellow and 30.2% black. Its hue angle is 296.84°, with 27.01% saturation and 58.63% 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 6.2:1 (WCAG AA). The closest named color is Purple Mountain Majesty (#9678b6), ΔE 6.66.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #996699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.26 |
Shades
#af79b2 mixed progressively with black.
Tints
#af79b2 mixed progressively with white.
Tones
#af79b2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-af79b2 {
color: #af79b2;
}
.bg-af79b2 {
background-color: #af79b2;
color: #000000;
}
.border-af79b2 {
border: 2px solid #af79b2;
}
:root {
--color-primary: #af79b2;
--color-primary-rgb: 175 121 178;
--color-primary-hsl: 297 27% 59%;
}
.gradient-af79b2 {
background: linear-gradient(135deg, #af79b2, #b27999);
}
.shadow-af79b2 {
box-shadow: 0 8px 24px rgb(175 121 178 / 0.35);
}
Purple Mountain Majesty
#af79b2 rgb(175, 121, 178) hsl(297, 27%, 59%) Purple Mountain Majesty
#7cb279 rgb(124, 178, 121) hsl(117, 27%, 59%) Dark Sea Green
#b2af79 rgb(178, 175, 121) hsl(57, 27%, 59%) Sage
#79b2af rgb(121, 178, 175) hsl(177, 27%, 59%) Cadet Blue