#7F5B87 color
The hex color #7F5B87 is a grayish magenta.
In the RGB color model it is made of 49.8% red, 35.7% green and 52.9% blue (127, 91, 135).
Its hue angle is 289°, with 19% saturation and 44% lightness. For print, the CMYK equivalent is 6% cyan, 33% magenta, 0% yellow and 47% black.
The closest named color is Muted Purple (#805B87), a difference of 0.3 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 5.6:1).
#7F5B87 color codes
| HEX | #7F5B87 | |
|---|---|---|
| RGB | rgb(127, 91, 135) | |
| RGB percent | rgb(49.8%, 35.7%, 52.9%) | |
| HSL | hsl(289, 19%, 44%) | |
| HSV / HSB | hsv(289, 33%, 53%) | |
| CMYK | cmyk(6%, 33%, 0%, 47%) | |
| CIE LAB | lab(43.86, 22.94, -18.73) | |
| CIE LCH | lch(43.86, 29.62, 320.76) | |
| CIE XYZ | xyz(16.866, 13.744, 24.681) | |
| Decimal | 8346503 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F5B87, 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 #7F5B87 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.75:1 | Fail | Fail | Pass |
| Sample text | 5.6:1 | Pass | Fail | Pass |
| #7F5B87 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.6:1 | Pass | Fail | Pass |
| Sample text | 3.75: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 #7F5B87 looks to people with the most common types of color vision deficiency.
#566589Protanopia
no red cones#5e6986Deuteranopia
no green cones#80606bTritanopia
no blue cones#686868Achromatopsia
no color vision
CSS examples
.background { background-color: #7f5b87; }
.text { color: #7f5b87; }
.border { border: 2px solid #7f5b87; }
.transparent { background-color: rgb(127 91 135 / 50%); }
.gradient { background: linear-gradient(to right, #7f5b87, #875b79); }
Similar colors
#805b87Muted Purple#78587dDr Who#886688Sunshone Plum#75528bNinja Princess#905284Grape Candy#885577Plum Highness#784674Purple Passion#864788Prunella
Closest common color name: Plum.
Questions
- What color is #7F5B87?
- #7F5B87 is a grayish magenta, closest to the named color Muted Purple. It belongs to the purple family of colors.
- What is the RGB value of #7F5B87?
- The RGB value is 127, 91, 135: 127 red, 91 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #7F5B87?
- The complementary color is #63875B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F5B87?
- White text. Black text has a contrast ratio of 3.75:1 and white text 5.6:1. WCAG asks for at least 4.5:1 for normal text.