#8a7fdb ≈ Medium Purple
#8a7fdb 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 85.88% blue; printed in CMYK it uses 36.99% cyan, 42.01% magenta, 0% yellow and 14.12% black. Its hue angle is 247.17°, with 56.1% saturation and 67.84% 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 6.14:1 (WCAG AA). The closest named color is Medium Purple (#9370db), ΔE 5.4.
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.257 |
Shades
#8a7fdb mixed progressively with black.
Tints
#8a7fdb mixed progressively with white.
Tones
#8a7fdb mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-8a7fdb {
color: #8a7fdb;
}
.bg-8a7fdb {
background-color: #8a7fdb;
color: #000000;
}
.border-8a7fdb {
border: 2px solid #8a7fdb;
}
:root {
--color-primary: #8a7fdb;
--color-primary-rgb: 138 127 219;
--color-primary-hsl: 247 56% 68%;
}
.gradient-8a7fdb {
background: linear-gradient(135deg, #8a7fdb, #b87fdb);
}
.shadow-8a7fdb {
box-shadow: 0 8px 24px rgb(138 127 219 / 0.35);
}
Medium Purple
#8a7fdb rgb(138, 127, 219) hsl(247, 56%, 68%) Medium Purple
#d0db7f rgb(208, 219, 127) hsl(67, 56%, 68%) June Bud
#db8a7f rgb(219, 138, 127) hsl(7, 56%, 68%) Light Coral
#7fdb8a rgb(127, 219, 138) hsl(127, 56%, 68%) Pastel Green