#8a7fcb ≈ Medium Purple
#8a7fcb is a color from the blue family, with high lightness and moderate saturation. In the RGB model it is made of 54.12% red, 49.8% green and 79.61% blue; printed in CMYK it uses 32.02% cyan, 37.44% magenta, 0% yellow and 20.39% black. Its hue angle is 248.68°, with 42.22% saturation and 64.71% lightness in HSL. It is a cool color, often associated with trust, stability and focus. Designers typically use it for technology products, finance and banking and brand accents. Black text on this color reaches a contrast ratio of 5.98:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 6.22.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #9966cc |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.2489 |
Shades
#8a7fcb mixed progressively with black.
Tints
#8a7fcb mixed progressively with white.
Tones
#8a7fcb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a7fcb {
color: #8a7fcb;
}
.bg-8a7fcb {
background-color: #8a7fcb;
color: #000000;
}
.border-8a7fcb {
border: 2px solid #8a7fcb;
}
:root {
--color-primary: #8a7fcb;
--color-primary-rgb: 138 127 203;
--color-primary-hsl: 249 42% 65%;
}
.gradient-8a7fcb {
background: linear-gradient(135deg, #8a7fcb, #b07fcb);
}
.shadow-8a7fcb {
box-shadow: 0 8px 24px rgb(138 127 203 / 0.35);
}
Medium Purple
#8a7fcb rgb(138, 127, 203) hsl(249, 42%, 65%) Medium Purple
#c0cb7f rgb(192, 203, 127) hsl(69, 42%, 65%) Dark Khaki
#cb8a7f rgb(203, 138, 127) hsl(9, 42%, 65%) Old Rose
#7fcb8a rgb(127, 203, 138) hsl(129, 42%, 65%) Emerald