#795ba7 ≈ Royal Purple
#795ba7 is a color from the violet family, with medium lightness and moderate saturation. In the RGB model it is made of 47.45% red, 35.69% green and 65.49% blue; printed in CMYK it uses 27.54% cyan, 45.51% magenta, 0% yellow and 34.51% black. Its hue angle is 263.68°, with 30.16% saturation and 50.59% 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.43:1 (WCAG AA). The closest named color is Royal Purple (#7851a9), ΔE 3.26.
Description generated from the measured properties of this color.
| HEX | |
|---|---|
| RGB | |
| RGB percent | |
| CMY | |
| CMYK | |
| HSL | |
| HSV / HSB | |
| Web safe | #666699 |
| CIE-LAB | |
| XYZ | |
| xyY | |
| CIE-LCH | |
| CIE-LUV | |
| Hunter-Lab | |
| OKLab | |
| Binary | |
| Decimal | |
| Relative luminance | 0.1434 |
Shades
#795ba7 mixed progressively with black.
Tints
#795ba7 mixed progressively with white.
Tones
#795ba7 mixed progressively with gray.
Text in this color
Background in this color
Border in this color
.text-795ba7 {
color: #795ba7;
}
.bg-795ba7 {
background-color: #795ba7;
color: #ffffff;
}
.border-795ba7 {
border: 2px solid #795ba7;
}
:root {
--color-primary: #795ba7;
--color-primary-rgb: 121 91 167;
--color-primary-hsl: 264 30% 51%;
}
.gradient-795ba7 {
background: linear-gradient(135deg, #795ba7, #9f5ba7);
}
.shadow-795ba7 {
box-shadow: 0 8px 24px rgb(121 91 167 / 0.35);
}
Royal Purple
#795ba7 rgb(121, 91, 167) hsl(264, 30%, 51%) Royal Purple
#89a75b rgb(137, 167, 91) hsl(84, 30%, 51%) Asparagus
#a7795b rgb(167, 121, 91) hsl(24, 30%, 51%) Cafe au Lait
#5ba779 rgb(91, 167, 121) hsl(144, 30%, 51%) Mint