#c8a1b2 ≈ Pastel Purple
#c8a1b2 is a color from the rose family, with high lightness and muted saturation. In the RGB model it is made of 78.43% red, 63.14% green and 69.8% blue; printed in CMYK it uses 0% cyan, 19.5% magenta, 11% yellow and 21.57% black. Its hue angle is 333.85°, with 26.17% saturation and 70.78% lightness in HSL. It is a warm color, often associated with romance, playfulness and affection. Designers typically use it for food and restaurant brands, sales and promotions and brand accents. Black text on this color reaches a contrast ratio of 9.2:1 (WCAG AAA). The closest named color is Pastel Purple (#b39eb5), ΔE 6.24.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #cc9999 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.4098 |
Shades
#c8a1b2 mixed progressively with black.
Tints
#c8a1b2 mixed progressively with white.
Tones
#c8a1b2 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-c8a1b2 {
color: #c8a1b2;
}
.bg-c8a1b2 {
background-color: #c8a1b2;
color: #000000;
}
.border-c8a1b2 {
border: 2px solid #c8a1b2;
}
:root {
--color-primary: #c8a1b2;
--color-primary-rgb: 200 161 178;
--color-primary-hsl: 334 26% 71%;
}
.gradient-c8a1b2 {
background: linear-gradient(135deg, #c8a1b2, #c8a3a1);
}
.shadow-c8a1b2 {
box-shadow: 0 8px 24px rgb(200 161 178 / 0.35);
}
Pastel Purple
#c8a1b2 rgb(200, 161, 178) hsl(334, 26%, 71%) Pastel Purple
#a1c8b7 rgb(161, 200, 183) hsl(154, 26%, 71%) Opal
#b2c8a1 rgb(178, 200, 161) hsl(94, 26%, 71%) Dark Sea Green
#a1b2c8 rgb(161, 178, 200) hsl(214, 26%, 71%) Light Steel Blue