#7D5F7E color
The hex color #7D5F7E is a grayish magenta.
In the RGB color model it is made of 49% red, 37.3% green and 49.4% blue (125, 95, 126).
Its hue angle is 298°, with 14% saturation and 43% lightness. For print, the CMYK equivalent is 1% cyan, 25% magenta, 0% yellow and 51% black.
The closest named color is Dr Who (#78587D), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.51:1).
#7D5F7E color codes
| HEX | #7D5F7E | |
|---|---|---|
| RGB | rgb(125, 95, 126) | |
| RGB percent | rgb(49%, 37.3%, 49.4%) | |
| HSL | hsl(298, 14%, 43%) | |
| HSV / HSB | hsv(298, 25%, 49%) | |
| CMYK | cmyk(1%, 25%, 0%, 51%) | |
| CIE LAB | lab(44.31, 17.94, -12.64) | |
| CIE LCH | lch(44.31, 21.95, 324.82) | |
| CIE XYZ | xyz(16.315, 14.051, 21.587) | |
| Decimal | 8216446 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7D5F7E, 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 #7D5F7E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.81:1 | Fail | Fail | Pass |
| Sample text | 5.51:1 | Pass | Fail | Pass |
| #7D5F7E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.51:1 | Pass | Fail | Pass |
| Sample text | 3.81: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 #7D5F7E looks to people with the most common types of color vision deficiency.
#5d667fProtanopia
no red cones#646a7dDeuteranopia
no green cones#7f626aTritanopia
no blue cones#696969Achromatopsia
no color vision
CSS examples
.background { background-color: #7d5f7e; }
.text { color: #7d5f7e; }
.border { border: 2px solid #7d5f7e; }
.transparent { background-color: rgb(125 95 126 / 50%); }
.gradient { background: linear-gradient(to right, #7d5f7e, #7e5f70); }
Similar colors
#78587dDr Who#886688Sunshone Plum#805b87Muted Purple#885577Plum Highness#816575Opera#8a5773Indian Silk#7b6c8eNymph’s Delight#6f5166Hibernation
Closest common color name: Plum.
Questions
- What color is #7D5F7E?
- #7D5F7E 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 #7D5F7E?
- The RGB value is 125, 95, 126: 125 red, 95 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #7D5F7E?
- The complementary color is #607E5F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7D5F7E?
- White text. Black text has a contrast ratio of 3.81:1 and white text 5.51:1. WCAG asks for at least 4.5:1 for normal text.