Royal purple
#7851A9
Royal purple (#7851A9) is a medium, moderately saturated purple colour, cool. In RGB it is 120 red, 81 green and 169 blue; in HSL its hue is 267°, its saturation 35% and its lightness 49%. For print, its CMYK mix is 29% cyan, 52% magenta, 0% yellow and 34% black, though printed colours vary with paper and ink.
Purple has long meant luxury, creativity and a touch of mystery. Light purples feel soft and gentle; deep purples feel rich and bold.
Text on royal purple
White text on royal purple has a contrast ratio of 5.92:1 and passes AA; black text has 3.55:1 and passes AA for large text only. White text is the better choice on it. Check other pairs in the contrast checker.
White text · 5.92:1
Black text · 3.55:1
Tints and shades of royal purple
Colour palettes with royal purple
Brands with a royal purple logo
Brand colours close to #7851A9, from our Brand Colour Index.
Colours similar to royal purple
Use royal purple in CSS
.button {
background-color: #7851A9;
color: #FFFFFF;
}Make a full Tailwind scale from it with the Tailwind shades generator, or see more shades of purple.