#7D5179 color
The hex color #7D5179 is a grayish magenta.
In the RGB color model it is made of 49% red, 31.8% green and 47.5% blue (125, 81, 121).
Its hue angle is 305°, with 21% saturation and 40% lightness. For print, the CMYK equivalent is 0% cyan, 35% magenta, 3% yellow and 51% black.
The closest named color is Dr Who (#78587D), a difference of 3.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.32:1).
#7D5179 color codes
| HEX | #7D5179 | |
|---|---|---|
| RGB | rgb(125, 81, 121) | |
| RGB percent | rgb(49%, 31.8%, 47.5%) | |
| HSL | hsl(305, 21%, 40%) | |
| HSV / HSB | hsv(305, 35%, 49%) | |
| CMYK | cmyk(0%, 35%, 3%, 51%) | |
| CIE LAB | lab(40.62, 25.27, -15.21) | |
| CIE LCH | lch(40.62, 29.5, 328.95) | |
| CIE XYZ | xyz(14.851, 11.626, 19.547) | |
| Decimal | 8212857 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7D5179, 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 #7D5179 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.33:1 | Fail | Fail | Pass |
| Sample text | 6.32:1 | Pass | Fail | Pass |
| #7D5179 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.32:1 | Pass | Fail | Pass |
| Sample text | 3.33: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 #7D5179 looks to people with the most common types of color vision deficiency.
#4f5c7bProtanopia
no red cones#5a6278Deuteranopia
no green cones#805460Tritanopia
no blue cones#606060Achromatopsia
no color vision
CSS examples
.background { background-color: #7d5179; }
.text { color: #7d5179; }
.border { border: 2px solid #7d5179; }
.transparent { background-color: rgb(125 81 121 / 50%); }
.gradient { background: linear-gradient(to right, #7d5179, #7d5163); }
Similar colors
#78587dDr Who#7f4774Magic Magenta#784674Purple Passion#885577Plum Highness#805b87Muted Purple#82476fGrape Kiss#905284Grape Candy#784467Magician’s Cloak
Closest common color name: Plum.
Questions
- What color is #7D5179?
- #7D5179 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 #7D5179?
- The RGB value is 125, 81, 121: 125 red, 81 green and 121 blue on a 0 to 255 scale.
- What is the complementary color of #7D5179?
- The complementary color is #517D55, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7D5179?
- White text. Black text has a contrast ratio of 3.33:1 and white text 6.32:1. WCAG asks for at least 4.5:1 for normal text.