#7E5DA5 color
The hex color #7E5DA5 is a desaturated violet.
In the RGB color model it is made of 49.4% red, 36.5% green and 64.7% blue (126, 93, 165).
Its hue angle is 268°, with 29% saturation and 51% lightness. For print, the CMYK equivalent is 24% cyan, 44% magenta, 0% yellow and 35% black.
The closest named color is Prophet Violet (#6F58A6), a difference of 4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.26:1).
#7E5DA5 color codes
| HEX | #7E5DA5 | |
|---|---|---|
| RGB | rgb(126, 93, 165) | |
| RGB percent | rgb(49.4%, 36.5%, 64.7%) | |
| HSL | hsl(268, 29%, 51%) | |
| HSV / HSB | hsv(268, 44%, 65%) | |
| CMYK | cmyk(24%, 44%, 0%, 35%) | |
| CIE LAB | lab(45.61, 28.38, -33.93) | |
| CIE LCH | lch(45.61, 44.23, 309.91) | |
| CIE XYZ | xyz(19.309, 14.981, 37.464) | |
| Decimal | 8281509 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E5DA5, 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 #7E5DA5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4:1 | Fail | Fail | Pass |
| Sample text | 5.26:1 | Pass | Fail | Pass |
| #7E5DA5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.26:1 | Pass | Fail | Pass |
| Sample text | 4: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 #7E5DA5 looks to people with the most common types of color vision deficiency.
#4b6ba8Protanopia
no red cones#526ca3Deuteranopia
no green cones#786979Tritanopia
no blue cones#6c6c6cAchromatopsia
no color vision
CSS examples
.background { background-color: #7e5da5; }
.text { color: #7e5da5; }
.border { border: 2px solid #7e5da5; }
.transparent { background-color: rgb(126 93 165 / 50%); }
.gradient { background: linear-gradient(to right, #7e5da5, #a25da5); }
Similar colors
#6f58a6Prophet Violet#6f5698Passion Flower#7851a9Royal Purple#7851a9Royal Lavender#715bb1Simply Purple#6f63a0Scampi#8469bcLavish Spending#75528bNinja Princess
Questions
- What color is #7E5DA5?
- #7E5DA5 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 #7E5DA5?
- The RGB value is 126, 93, 165: 126 red, 93 green and 165 blue on a 0 to 255 scale.
- What is the complementary color of #7E5DA5?
- The complementary color is #84A55D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E5DA5?
- White text. Black text has a contrast ratio of 4:1 and white text 5.26:1. WCAG asks for at least 4.5:1 for normal text.