#7852A4 color
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 | |
|---|---|---|
| RGB | rgb(120, 82, 164) | |
| RGB percent | rgb(47.1%, 32.2%, 64.3%) | |
| HSL | hsl(268, 33%, 48%) | |
| HSV / HSB | hsv(268, 50%, 64%) | |
| CMYK | cmyk(27%, 50%, 0%, 36%) | |
| CIE LAB | lab(42.32, 32.87, -38.57) | |
| CIE LCH | lch(42.32, 50.67, 310.43) | |
| CIE XYZ | xyz(17.462, 12.708, 36.648) | |
| Decimal | 7885476 | |
| Short hex | None (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 #7852A4 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.54:1 | Fail | Fail | Pass |
| Sample text | 5.93:1 | Pass | Fail | Pass |
| #7852A4 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.93:1 | Pass | Fail | Pass |
| Sample text | 3.54: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 #7852A4 looks to people with the most common types of color vision deficiency.
#3963a7Protanopia
no red cones#4464a2Deuteranopia
no green cones#706173Tritanopia
no blue cones#646464Achromatopsia
no color vision
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); }
Similar colors
#7851a9Royal Purple#7851a9Royal Lavender#6f58a6Prophet Violet#6f5698Passion Flower#654ea3Ultrapurple Merge#715bb1Simply Purple#81459ePurple Pleasures#714a8bGrapes of Italy
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.