#7852A4 color

#7852A4 rgb(120, 82, 164)
Shades of purple

The hex color #7852A4 is a desaturated violet.

In the RGB color model it is made of 47.1% red, 32.2% green and 64.3% blue (120, 82, 164).

Its hue angle is 268°, with 33% saturation and 48% lightness. For print, the CMYK equivalent is 27% cyan, 50% magenta, 0% yellow and 36% black.

The closest named color is Royal Purple (#7851A9), a difference of 1.1 ΔE, which is barely visible.

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

#7852A4 color codes

HEX#7852A4
RGBrgb(120, 82, 164)
RGB percentrgb(47.1%, 32.2%, 64.3%)
HSLhsl(268, 33%, 48%)
HSV / HSBhsv(268, 50%, 64%)
CMYKcmyk(27%, 50%, 0%, 36%)
CIE LABlab(42.32, 32.87, -38.57)
CIE LCHlch(42.32, 50.67, 310.43)
CIE XYZxyz(17.462, 12.708, 36.648)
Decimal7885476
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7852A4, 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 #7852A4RatioAAAAAAA large
Sample text3.54:1FailFailPass
Sample text5.93:1PassFailPass
#7852A4 as text onRatioAAAAAAA large
Sample text5.93:1PassFailPass
Sample text3.54: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 #7852A4 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7852a4; }
.text { color: #7852a4; }
.border { border: 2px solid #7852a4; }
.transparent { background-color: rgb(120 82 164 / 50%); }
.gradient { background: linear-gradient(to right, #7852a4, #a152a4); }
Background
Text color
Border

Similar colors

Questions

What color is #7852A4?
#7852A4 is a desaturated violet, closest to the named color Royal Purple. It belongs to the purple family of colors.
What is the RGB value of #7852A4?
The RGB value is 120, 82, 164: 120 red, 82 green and 164 blue on a 0 to 255 scale.
What is the complementary color of #7852A4?
The complementary color is #7EA452, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7852A4?
White text. Black text has a contrast ratio of 3.54:1 and white text 5.93:1. WCAG asks for at least 4.5:1 for normal text.