Royal Lavender color: hex code #7851A9

#7851A9 rgb(120, 81, 169)
Shades of purple

Royal Lavender 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 Purple.

White text is the more readable choice on this background (contrast 5.92:1).

Royal Lavender (#7851A9) color codes

HEX#7851A9
RGBrgb(120, 81, 169)
RGB percentrgb(47.1%, 31.8%, 66.3%)
HSLhsl(267, 35%, 49%)
HSV / HSBhsv(267, 52%, 66%)
CMYKcmyk(29%, 52%, 0%, 34%)
CIE LABlab(42.37, 34.71, -41.45)
CIE LCHlch(42.37, 54.07, 309.95)
CIE XYZxyz(17.848, 12.742, 39.048)
Decimal7885225
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with Royal Lavender, 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 #7851A9RatioAAAAAAA large
Sample text3.55:1FailFailPass
Sample text5.92:1PassFailPass
#7851A9 as text onRatioAAAAAAA large
Sample text5.92:1PassFailPass
Sample text3.55:1FailFailPass

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.

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); }
Background
Text color
Border

Similar colors

See #7851A9 on its hex code page

Questions

What color is #7851A9?
#7851A9 is a desaturated violet known as Royal Lavender. It belongs to the purple family of colors.
What is the RGB value of Royal Lavender?
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 Lavender?
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.