#7D5DA6 color
The hex color #7D5DA6 is a desaturated violet.
In the RGB color model it is made of 49% red, 36.5% green and 65.1% blue (125, 93, 166).
Its hue angle is 266°, with 29% saturation and 51% lightness. For print, the CMYK equivalent is 25% cyan, 44% magenta, 0% yellow and 35% black.
The closest named color is Prophet Violet (#6F58A6), a difference of 3.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.27:1).
#7D5DA6 color codes
| HEX | #7D5DA6 | |
|---|---|---|
| RGB | rgb(125, 93, 166) | |
| RGB percent | rgb(49%, 36.5%, 65.1%) | |
| HSL | hsl(266, 29%, 51%) | |
| HSV / HSB | hsv(266, 44%, 65%) | |
| CMYK | cmyk(25%, 44%, 0%, 35%) | |
| CIE LAB | lab(45.55, 28.33, -34.61) | |
| CIE LCH | lch(45.55, 44.72, 309.3) | |
| CIE XYZ | xyz(19.253, 14.942, 37.939) | |
| Decimal | 8215974 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7D5DA6, 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 #7D5DA6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.99:1 | Fail | Fail | Pass |
| Sample text | 5.27:1 | Pass | Fail | Pass |
| #7D5DA6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.27:1 | Pass | Fail | Pass |
| Sample text | 3.99: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 #7D5DA6 looks to people with the most common types of color vision deficiency.
#4a6ba9Protanopia
no red cones#516ca4Deuteranopia
no green cones#766979Tritanopia
no blue cones#6c6c6cAchromatopsia
no color vision
CSS examples
.background { background-color: #7d5da6; }
.text { color: #7d5da6; }
.border { border: 2px solid #7d5da6; }
.transparent { background-color: rgb(125 93 166 / 50%); }
.gradient { background: linear-gradient(to right, #7d5da6, #a15da6); }
Similar colors
#6f58a6Prophet Violet#6f5698Passion Flower#7851a9Royal Purple#7851a9Royal Lavender#715bb1Simply Purple#6f63a0Scampi#8469bcLavish Spending#75528bNinja Princess
Questions
- What color is #7D5DA6?
- #7D5DA6 is a desaturated violet, closest to the named color Prophet Violet. It belongs to the purple family of colors.
- What is the RGB value of #7D5DA6?
- The RGB value is 125, 93, 166: 125 red, 93 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #7D5DA6?
- The complementary color is #86A65D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7D5DA6?
- White text. Black text has a contrast ratio of 3.99:1 and white text 5.27:1. WCAG asks for at least 4.5:1 for normal text.