#7E6B7E color
The hex color #7E6B7E is a grayish magenta.
In the RGB color model it is made of 49.4% red, 42% green and 49.4% blue (126, 107, 126).
Its hue angle is 300°, with 8% saturation and 46% lightness. For print, the CMYK equivalent is 0% cyan, 15% magenta, 0% yellow and 51% black.
The closest named color is Sakura Night (#7B6C7C), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 4.89:1).
#7E6B7E color codes
| HEX | #7E6B7E | |
|---|---|---|
| RGB | rgb(126, 107, 126) | |
| RGB percent | rgb(49.4%, 42%, 49.4%) | |
| HSL | hsl(300, 8%, 46%) | |
| HSV / HSB | hsv(300, 15%, 49%) | |
| CMYK | cmyk(0%, 15%, 0%, 51%) | |
| CIE LAB | lab(47.57, 11.13, -7.73) | |
| CIE LCH | lch(47.57, 13.55, 325.23) | |
| CIE XYZ | xyz(17.627, 16.458, 21.983) | |
| Decimal | 8285054 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E6B7E, 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 #7E6B7E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.29:1 | Fail | Fail | Pass |
| Sample text | 4.89:1 | Pass | Fail | Pass |
| #7E6B7E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.89:1 | Pass | Fail | Pass |
| Sample text | 4.29: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 #7E6B7E looks to people with the most common types of color vision deficiency.
#6a6f7fProtanopia
no red cones#6e727dDeuteranopia
no green cones#7f6c71Tritanopia
no blue cones#717171Achromatopsia
no color vision
CSS examples
.background { background-color: #7e6b7e; }
.text { color: #7e6b7e; }
.border { border: 2px solid #7e6b7e; }
.transparent { background-color: rgb(126 107 126 / 50%); }
.gradient { background: linear-gradient(to right, #7e6b7e, #7e6b74); }
Similar colors
#7b6c7cSakura Night#806b77Moonscape#816575Opera#766d7cMamba#716675Rum#74626dChimaera#847592Vintage#7b6c8eNymph’s Delight
Closest common color name: Space Gray.
Questions
- What color is #7E6B7E?
- #7E6B7E is a grayish magenta, closest to the named color Sakura Night. It belongs to the purple family of colors.
- What is the RGB value of #7E6B7E?
- The RGB value is 126, 107, 126: 126 red, 107 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #7E6B7E?
- The complementary color is #6B7E6B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E6B7E?
- White text. Black text has a contrast ratio of 4.29:1 and white text 4.89:1. WCAG asks for at least 4.5:1 for normal text.