#7A517A color
The hex color #7A517A is a grayish magenta.
In the RGB color model it is made of 47.8% red, 31.8% green and 47.8% blue (122, 81, 122).
Its hue angle is 300°, with 20% saturation and 40% lightness. For print, the CMYK equivalent is 0% cyan, 34% magenta, 0% yellow and 52% black.
The closest named color is Dr Who (#78587D), a difference of 2.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.39:1).
#7A517A color codes
| HEX | #7A517A | |
|---|---|---|
| RGB | rgb(122, 81, 122) | |
| RGB percent | rgb(47.8%, 31.8%, 47.8%) | |
| HSL | hsl(300, 20%, 40%) | |
| HSV / HSB | hsv(300, 34%, 48%) | |
| CMYK | cmyk(0%, 34%, 0%, 52%) | |
| CIE LAB | lab(40.29, 24.41, -16.35) | |
| CIE LCH | lch(40.29, 29.38, 326.18) | |
| CIE XYZ | xyz(14.481, 11.428, 19.852) | |
| Decimal | 8016250 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7A517A, 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 #7A517A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.29:1 | Fail | Fail | Pass |
| Sample text | 6.39:1 | Pass | Fail | Pass |
| #7A517A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.39:1 | Pass | Fail | Pass |
| Sample text | 3.29: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 #7A517A looks to people with the most common types of color vision deficiency.
#4e5c7cProtanopia
no red cones#586179Deuteranopia
no green cones#7c5560Tritanopia
no blue cones#5f5f5fAchromatopsia
no color vision
CSS examples
.background { background-color: #7a517a; }
.text { color: #7a517a; }
.border { border: 2px solid #7a517a; }
.transparent { background-color: rgb(122 81 122 / 50%); }
.gradient { background: linear-gradient(to right, #7a517a, #7a5166); }
Similar colors
#78587dDr Who#784674Purple Passion#7f4774Magic Magenta#805b87Muted Purple#885577Plum Highness#82476fGrape Kiss#905284Grape Candy#674876Neon Violet
Closest common color name: Plum.
Questions
- What color is #7A517A?
- #7A517A 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 #7A517A?
- The RGB value is 122, 81, 122: 122 red, 81 green and 122 blue on a 0 to 255 scale.
- What is the complementary color of #7A517A?
- The complementary color is #517A51, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7A517A?
- White text. Black text has a contrast ratio of 3.29:1 and white text 6.39:1. WCAG asks for at least 4.5:1 for normal text.