#845ea7 ≈ Royal Purple
#845ea7 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 51.76% red, 36.86% green and 65.49% blue; printed in CMYK it uses 20.96% cyan, 43.71% magenta, 0% yellow and 34.51% black. Its hue angle is 271.23°, with 29.32% saturation and 51.18% 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.07:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 5.04.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #996699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.157 |
Shades
#845ea7 mixed progressively with black.
Tints
#845ea7 mixed progressively with white.
Tones
#845ea7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-845ea7 {
color: #845ea7;
}
.bg-845ea7 {
background-color: #845ea7;
color: #ffffff;
}
.border-845ea7 {
border: 2px solid #845ea7;
}
:root {
--color-primary: #845ea7;
--color-primary-rgb: 132 94 167;
--color-primary-hsl: 271 29% 51%;
}
.gradient-845ea7 {
background: linear-gradient(135deg, #845ea7, #a75ea6);
}
.shadow-845ea7 {
box-shadow: 0 8px 24px rgb(132 94 167 / 0.35);
}
Royal Purple
#845ea7 rgb(132, 94, 167) hsl(271, 29%, 51%) Royal Purple
#81a75e rgb(129, 167, 94) hsl(91, 29%, 51%) Asparagus
#a7845e rgb(167, 132, 94) hsl(31, 29%, 51%) Cafe au Lait
#5ea784 rgb(94, 167, 132) hsl(151, 29%, 51%) Jungle Green