#7A47B2 color
The hex color #7A47B2 is a desaturated violet.
In the RGB color model it is made of 47.8% red, 27.8% green and 69.8% blue (122, 71, 178).
Its hue angle is 269°, with 43% saturation and 49% lightness. For print, the CMYK equivalent is 31% cyan, 60% magenta, 0% yellow and 30% black.
The closest named color is Royal Purple (#7851A9), a difference of 3.3 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.23:1).
#7A47B2 color codes
| HEX | #7A47B2 | |
|---|---|---|
| RGB | rgb(122, 71, 178) | |
| RGB percent | rgb(47.8%, 27.8%, 69.8%) | |
| HSL | hsl(269, 43%, 49%) | |
| HSV / HSB | hsv(269, 60%, 70%) | |
| CMYK | cmyk(31%, 60%, 0%, 30%) | |
| CIE LAB | lab(40.99, 43.14, -48.97) | |
| CIE LCH | lch(40.99, 65.26, 311.38) | |
| CIE XYZ | xyz(18.313, 11.858, 43.435) | |
| Decimal | 8013746 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7A47B2, 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 #7A47B2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.37:1 | Fail | Fail | Pass |
| Sample text | 6.23:1 | Pass | Fail | Pass |
| #7A47B2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.23:1 | Pass | Fail | Pass |
| Sample text | 3.37: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 #7A47B2 looks to people with the most common types of color vision deficiency.
#0f60b5Protanopia
no red cones#2b60b0Deuteranopia
no green cones#6f5d76Tritanopia
no blue cones#616161Achromatopsia
no color vision
CSS examples
.background { background-color: #7a47b2; }
.text { color: #7a47b2; }
.border { border: 2px solid #7a47b2; }
.transparent { background-color: rgb(122 71 178 / 50%); }
.gradient { background: linear-gradient(to right, #7a47b2, #b047b2); }
Similar colors
#7851a9Royal Purple#7851a9Royal Lavender#7737aaShredder Lavender#7442c8Purple Rain#6b3fa0Poppy Pompadour#81459ePurple Pleasures#7733aaPurple Pristine#8833aaPleasant Purple
Questions
- What color is #7A47B2?
- #7A47B2 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 #7A47B2?
- The RGB value is 122, 71, 178: 122 red, 71 green and 178 blue on a 0 to 255 scale.
- What is the complementary color of #7A47B2?
- The complementary color is #7FB247, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7A47B2?
- White text. Black text has a contrast ratio of 3.37:1 and white text 6.23:1. WCAG asks for at least 4.5:1 for normal text.