#7F5E91 color
The hex color #7F5E91 is a grayish violet.
In the RGB color model it is made of 49.8% red, 36.9% green and 56.9% blue (127, 94, 145).
Its hue angle is 279°, with 21% saturation and 47% lightness. For print, the CMYK equivalent is 12% cyan, 35% magenta, 0% yellow and 43% black.
The closest named color is Muted Purple (#805B87), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.37:1).
#7F5E91 color codes
| HEX | #7F5E91 | |
|---|---|---|
| RGB | rgb(127, 94, 145) | |
| RGB percent | rgb(49.8%, 36.9%, 56.9%) | |
| HSL | hsl(279, 21%, 47%) | |
| HSV / HSB | hsv(279, 35%, 57%) | |
| CMYK | cmyk(12%, 35%, 0%, 43%) | |
| CIE LAB | lab(45.03, 23.36, -22.94) | |
| CIE LCH | lch(45.03, 32.74, 315.52) | |
| CIE XYZ | xyz(17.865, 14.562, 28.652) | |
| Decimal | 8347281 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F5E91, 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 #7F5E91 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.91:1 | Fail | Fail | Pass |
| Sample text | 5.37:1 | Pass | Fail | Pass |
| #7F5E91 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.37:1 | Pass | Fail | Pass |
| Sample text | 3.91: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 #7F5E91 looks to people with the most common types of color vision deficiency.
#566993Protanopia
no red cones#5d6b8fDeuteranopia
no green cones#7e6571Tritanopia
no blue cones#6b6b6bAchromatopsia
no color vision
CSS examples
.background { background-color: #7f5e91; }
.text { color: #7f5e91; }
.border { border: 2px solid #7f5e91; }
.transparent { background-color: rgb(127 94 145 / 50%); }
.gradient { background: linear-gradient(to right, #7f5e91, #915e89); }
Similar colors
#805b87Muted Purple#75528bNinja Princess#78587dDr Who#886688Sunshone Plum#6f5698Passion Flower#655883Berry Jam#7b6c8eNymph’s Delight#6f63a0Scampi
Closest common color name: Royal Purple.
Questions
- What color is #7F5E91?
- #7F5E91 is a grayish violet, closest to the named color Muted Purple. It belongs to the purple family of colors.
- What is the RGB value of #7F5E91?
- The RGB value is 127, 94, 145: 127 red, 94 green and 145 blue on a 0 to 255 scale.
- What is the complementary color of #7F5E91?
- The complementary color is #70915E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F5E91?
- White text. Black text has a contrast ratio of 3.91:1 and white text 5.37:1. WCAG asks for at least 4.5:1 for normal text.