Royal Purple color: hex code #7851A9
Royal Purple has the hex code #7851A9. It is a desaturated violet.
In the RGB color model it is made of 47.1% red, 31.8% green and 66.3% blue (120, 81, 169).
Its hue angle is 267°, with 35% saturation and 49% lightness. For print, the CMYK equivalent is 29% cyan, 52% magenta, 0% yellow and 34% black.
This exact color is also called Royal Lavender.
White text is the more readable choice on this background (contrast 5.92:1).
Royal Purple (#7851A9) color codes
| HEX | #7851A9 | |
|---|---|---|
| RGB | rgb(120, 81, 169) | |
| RGB percent | rgb(47.1%, 31.8%, 66.3%) | |
| HSL | hsl(267, 35%, 49%) | |
| HSV / HSB | hsv(267, 52%, 66%) | |
| CMYK | cmyk(29%, 52%, 0%, 34%) | |
| CIE LAB | lab(42.37, 34.71, -41.45) | |
| CIE LCH | lch(42.37, 54.07, 309.95) | |
| CIE XYZ | xyz(17.848, 12.742, 39.048) | |
| Decimal | 7885225 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Royal Purple, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #7851A9 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.55:1 | Fail | Fail | Pass |
| Sample text | 5.92:1 | Pass | Fail | Pass |
| #7851A9 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.92:1 | Pass | Fail | Pass |
| Sample text | 3.55:1 | Fail | Fail | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #7851A9 looks to people with the most common types of color vision deficiency.
#3463acProtanopia
no red cones#3f64a7Deuteranopia
no green cones#6f6175Tritanopia
no blue cones#646464Achromatopsia
no color vision
CSS examples
.background { background-color: #7851a9; }
.text { color: #7851a9; }
.border { border: 2px solid #7851a9; }
.transparent { background-color: rgb(120 81 169 / 50%); }
.gradient { background: linear-gradient(to right, #7851a9, #a451a9); }
Similar colors
#6f58a6Prophet Violet#715bb1Simply Purple#654ea3Ultrapurple Merge#6f5698Passion Flower#81459ePurple Pleasures#6b3fa0Poppy Pompadour#714a8bGrapes of Italy#75528bNinja Princess
See #7851A9 on its hex code page
Questions
- What color is #7851A9?
- #7851A9 is a desaturated violet known as Royal Purple. It belongs to the purple family of colors.
- What is the RGB value of Royal Purple?
- The RGB value is 120, 81, 169: 120 red, 81 green and 169 blue on a 0 to 255 scale.
- What is the complementary color of Royal Purple?
- The complementary color is #82A951, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7851A9?
- White text. Black text has a contrast ratio of 3.55:1 and white text 5.92:1. WCAG asks for at least 4.5:1 for normal text.