#7A5177 color
The hex color #7A5177 is a grayish magenta.
In the RGB color model it is made of 47.8% red, 31.8% green and 46.7% blue (122, 81, 119).
Its hue angle is 304°, with 20% saturation and 40% lightness. For print, the CMYK equivalent is 0% cyan, 34% magenta, 2% yellow and 52% black.
The closest named color is Dr Who (#78587D), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.42:1).
#7A5177 color codes
| HEX | #7A5177 | |
|---|---|---|
| RGB | rgb(122, 81, 119) | |
| RGB percent | rgb(47.8%, 31.8%, 46.7%) | |
| HSL | hsl(304, 20%, 40%) | |
| HSV / HSB | hsv(304, 34%, 48%) | |
| CMYK | cmyk(0%, 34%, 2%, 52%) | |
| CIE LAB | lab(40.17, 23.8, -14.69) | |
| CIE LCH | lch(40.17, 27.97, 328.31) | |
| CIE XYZ | xyz(14.298, 11.355, 18.888) | |
| Decimal | 8016247 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7A5177, 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 #7A5177 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.27:1 | Fail | Fail | Pass |
| Sample text | 6.42:1 | Pass | Fail | Pass |
| #7A5177 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.42:1 | Pass | Fail | Pass |
| Sample text | 3.27: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 #7A5177 looks to people with the most common types of color vision deficiency.
#4f5b78Protanopia
no red cones#596176Deuteranopia
no green cones#7d545fTritanopia
no blue cones#5f5f5fAchromatopsia
no color vision
CSS examples
.background { background-color: #7a5177; }
.text { color: #7a5177; }
.border { border: 2px solid #7a5177; }
.transparent { background-color: rgb(122 81 119 / 50%); }
.gradient { background: linear-gradient(to right, #7a5177, #7a5162); }
Similar colors
#78587dDr Who#784674Purple Passion#7f4774Magic Magenta#885577Plum Highness#805b87Muted Purple#82476fGrape Kiss#784467Magician’s Cloak#905284Grape Candy
Closest common color name: Plum.
Questions
- What color is #7A5177?
- #7A5177 is a grayish magenta, closest to the named color Dr Who. It belongs to the purple family of colors.
- What is the RGB value of #7A5177?
- The RGB value is 122, 81, 119: 122 red, 81 green and 119 blue on a 0 to 255 scale.
- What is the complementary color of #7A5177?
- The complementary color is #517A54, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7A5177?
- White text. Black text has a contrast ratio of 3.27:1 and white text 6.42:1. WCAG asks for at least 4.5:1 for normal text.