#7F4E74 color
The hex color #7F4E74 is a grayish magenta.
In the RGB color model it is made of 49.8% red, 30.6% green and 45.5% blue (127, 78, 116).
Its hue angle is 313°, with 24% saturation and 40% lightness. For print, the CMYK equivalent is 0% cyan, 39% magenta, 9% yellow and 50% black.
The closest named color is Magic Magenta (#7F4774), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.47:1).
#7F4E74 color codes
| HEX | #7F4E74 | |
|---|---|---|
| RGB | rgb(127, 78, 116) | |
| RGB percent | rgb(49.8%, 30.6%, 45.5%) | |
| HSL | hsl(313, 24%, 40%) | |
| HSV / HSB | hsv(313, 39%, 50%) | |
| CMYK | cmyk(0%, 39%, 9%, 50%) | |
| CIE LAB | lab(39.95, 26.78, -13.12) | |
| CIE LCH | lch(39.95, 29.82, 333.89) | |
| CIE XYZ | xyz(14.629, 11.223, 17.915) | |
| Decimal | 8343156 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F4E74, 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 #7F4E74 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.24:1 | Fail | Fail | Pass |
| Sample text | 6.47:1 | Pass | Fail | Pass |
| #7F4E74 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.47:1 | Pass | Fail | Pass |
| Sample text | 3.24: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 #7F4E74 looks to people with the most common types of color vision deficiency.
#4e5a75Protanopia
no red cones#5b6173Deuteranopia
no green cones#84505cTritanopia
no blue cones#5e5e5eAchromatopsia
no color vision
CSS examples
.background { background-color: #7f4e74; }
.text { color: #7f4e74; }
.border { border: 2px solid #7f4e74; }
.transparent { background-color: rgb(127 78 116 / 50%); }
.gradient { background: linear-gradient(to right, #7f4e74, #7f4e5b); }
Similar colors
#7f4774Magic Magenta#82476fGrape Kiss#885577Plum Highness#784674Purple Passion#784467Magician’s Cloak#7e4071Bruise#905284Grape Candy#78587dDr Who
Closest common color name: Plum.
Questions
- What color is #7F4E74?
- #7F4E74 is a grayish magenta, closest to the named color Magic Magenta. It belongs to the purple family of colors.
- What is the RGB value of #7F4E74?
- The RGB value is 127, 78, 116: 127 red, 78 green and 116 blue on a 0 to 255 scale.
- What is the complementary color of #7F4E74?
- The complementary color is #4E7F59, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F4E74?
- White text. Black text has a contrast ratio of 3.24:1 and white text 6.47:1. WCAG asks for at least 4.5:1 for normal text.