#804eb8 ≈ Royal Purple
#804eb8 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 50.2% red, 30.59% green and 72.16% blue; printed in CMYK it uses 30.43% cyan, 57.61% magenta, 0% yellow and 27.84% black. Its hue angle is 268.3°, with 42.74% saturation and 51.37% 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. White text on this color reaches a contrast ratio of 5.68:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 2.97.
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.135 |
Shades
#804eb8 mixed progressively with black.
Tints
#804eb8 mixed progressively with white.
Tones
#804eb8 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-804eb8 {
color: #804eb8;
}
.bg-804eb8 {
background-color: #804eb8;
color: #ffffff;
}
.border-804eb8 {
border: 2px solid #804eb8;
}
:root {
--color-primary: #804eb8;
--color-primary-rgb: 128 78 184;
--color-primary-hsl: 268 43% 51%;
}
.gradient-804eb8 {
background: linear-gradient(135deg, #804eb8, #b54eb8);
}
.shadow-804eb8 {
box-shadow: 0 8px 24px rgb(128 78 184 / 0.35);
}
Royal Purple
#804eb8 rgb(128, 78, 184) hsl(268, 43%, 51%) Royal Purple
#86b84e rgb(134, 184, 78) hsl(88, 43%, 51%) Pistachio
#b8804e rgb(184, 128, 78) hsl(28, 43%, 51%) Copper
#4eb880 rgb(78, 184, 128) hsl(148, 43%, 51%) Medium Sea Green