#7F5EAA color
The hex color #7F5EAA is a desaturated violet.
In the RGB color model it is made of 49.8% red, 36.9% green and 66.7% blue (127, 94, 170).
Its hue angle is 266°, with 31% saturation and 52% lightness. For print, the CMYK equivalent is 25% cyan, 45% magenta, 0% yellow and 33% black.
The closest named color is Prophet Violet (#6F58A6), a difference of 3.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.14:1).
#7F5EAA color codes
| HEX | #7F5EAA | |
|---|---|---|
| RGB | rgb(127, 94, 170) | |
| RGB percent | rgb(49.8%, 36.9%, 66.7%) | |
| HSL | hsl(266, 31%, 52%) | |
| HSV / HSB | hsv(266, 45%, 67%) | |
| CMYK | cmyk(25%, 45%, 0%, 33%) | |
| CIE LAB | lab(46.2, 29.32, -35.93) | |
| CIE LCH | lch(46.2, 46.37, 309.22) | |
| CIE XYZ | xyz(20.009, 15.42, 39.945) | |
| Decimal | 8347306 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F5EAA, 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 #7F5EAA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.08:1 | Fail | Fail | Pass |
| Sample text | 5.14:1 | Pass | Fail | Pass |
| #7F5EAA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.14:1 | Pass | Fail | Pass |
| Sample text | 4.08: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 #7F5EAA looks to people with the most common types of color vision deficiency.
#4a6dadProtanopia
no red cones#516da8Deuteranopia
no green cones#776b7cTritanopia
no blue cones#6d6d6dAchromatopsia
no color vision
CSS examples
.background { background-color: #7f5eaa; }
.text { color: #7f5eaa; }
.border { border: 2px solid #7f5eaa; }
.transparent { background-color: rgb(127 94 170 / 50%); }
.gradient { background: linear-gradient(to right, #7f5eaa, #a55eaa); }
Similar colors
#6f58a6Prophet Violet#715bb1Simply Purple#7851a9Royal Purple#7851a9Royal Lavender#6f5698Passion Flower#8469bcLavish Spending#6f63a0Scampi#8f509dVicious Violet
Questions
- What color is #7F5EAA?
- #7F5EAA 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 #7F5EAA?
- The RGB value is 127, 94, 170: 127 red, 94 green and 170 blue on a 0 to 255 scale.
- What is the complementary color of #7F5EAA?
- The complementary color is #89AA5E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F5EAA?
- White text. Black text has a contrast ratio of 4.08:1 and white text 5.14:1. WCAG asks for at least 4.5:1 for normal text.