#7E6F7B color
The hex color #7E6F7B is a gray.
In the RGB color model it is made of 49.4% red, 43.5% green and 48.2% blue (126, 111, 123).
Its hue angle is 312°, with 6% saturation and 46% lightness. For print, the CMYK equivalent is 0% cyan, 12% magenta, 2% yellow and 51% black.
The closest named color is Sakura Night (#7B6C7C), a difference of 2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.72:1).
#7E6F7B color codes
| HEX | #7E6F7B | |
|---|---|---|
| RGB | rgb(126, 111, 123) | |
| RGB percent | rgb(49.4%, 43.5%, 48.2%) | |
| HSL | hsl(312, 6%, 46%) | |
| HSV / HSB | hsv(312, 12%, 49%) | |
| CMYK | cmyk(0%, 12%, 2%, 51%) | |
| CIE LAB | lab(48.55, 8.15, -4.47) | |
| CIE LCH | lch(48.55, 9.3, 331.24) | |
| CIE XYZ | xyz(17.863, 17.235, 21.121) | |
| Decimal | 8286075 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E6F7B, 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 #7E6F7B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.45:1 | Fail | Fail | Pass |
| Sample text | 4.72:1 | Pass | Fail | Pass |
| #7E6F7B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.72:1 | Pass | Fail | Pass |
| Sample text | 4.45: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 #7E6F7B looks to people with the most common types of color vision deficiency.
#6f727cProtanopia
no red cones#72747aDeuteranopia
no green cones#807073Tritanopia
no blue cones#737373Achromatopsia
no color vision
CSS examples
.background { background-color: #7e6f7b; }
.text { color: #7e6f7b; }
.border { border: 2px solid #7e6f7b; }
.transparent { background-color: rgb(126 111 123 / 50%); }
.gradient { background: linear-gradient(to right, #7e6f7b, #7e6f73); }
Similar colors
#7b6c7cSakura Night#806b77Moonscape#766d7cMamba#7b737bCement Feet#81777fChain Mail#716675Rum#74626dChimaera#7c7173Empress
Closest common color name: Space Gray.
Questions
- What color is #7E6F7B?
- #7E6F7B is a gray, closest to the named color Sakura Night. It belongs to the gray family of colors.
- What is the RGB value of #7E6F7B?
- The RGB value is 126, 111, 123: 126 red, 111 green and 123 blue on a 0 to 255 scale.
- What is the complementary color of #7E6F7B?
- The complementary color is #6F7E72, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E6F7B?
- White text. Black text has a contrast ratio of 4.45:1 and white text 4.72:1. WCAG asks for at least 4.5:1 for normal text.