#afa2c4 ≈ Pastel Purple
#afa2c4 is a color from the violet family, with high lightness and muted saturation. In the RGB model it is made of 68.63% red, 63.53% green and 76.86% blue; printed in CMYK it uses 10.71% cyan, 17.35% magenta, 0% yellow and 23.14% black. Its hue angle is 262.94°, with 22.37% saturation and 70.2% lightness in HSL. It is a cool color, often associated with imagination, spirituality and luxury. Designers typically use it for beauty and cosmetics, creative studios and brand accents. Black text on this color reaches a contrast ratio of 8.79:1 (WCAG AAA). The closest named color is Pastel Purple (#b39eb5), ΔE 4.78.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9999cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.3894 |
Shades
#afa2c4 mixed progressively with black.
Tints
#afa2c4 mixed progressively with white.
Tones
#afa2c4 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-afa2c4 {
color: #afa2c4;
}
.bg-afa2c4 {
background-color: #afa2c4;
color: #000000;
}
.border-afa2c4 {
border: 2px solid #afa2c4;
}
:root {
--color-primary: #afa2c4;
--color-primary-rgb: 175 162 196;
--color-primary-hsl: 263 22% 70%;
}
.gradient-afa2c4 {
background: linear-gradient(135deg, #afa2c4, #c0a2c4);
}
.shadow-afa2c4 {
box-shadow: 0 8px 24px rgb(175 162 196 / 0.35);
}
Pastel Purple
#afa2c4 rgb(175, 162, 196) hsl(263, 22%, 70%) Pastel Purple
#b7c4a2 rgb(183, 196, 162) hsl(83, 22%, 70%) Sage
#c4afa2 rgb(196, 175, 162) hsl(23, 22%, 70%) Silver Pink
#a2c4af rgb(162, 196, 175) hsl(143, 22%, 70%) Opal