#7F6B7B color
The hex color #7F6B7B is a grayish magenta.
In the RGB color model it is made of 49.8% red, 42% green and 48.2% blue (127, 107, 123).
Its hue angle is 312°, with 9% saturation and 46% lightness. For print, the CMYK equivalent is 0% cyan, 16% magenta, 3% yellow and 50% black.
The closest named color is Moonscape (#806B77), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 4.89:1).
#7F6B7B color codes
| HEX | #7F6B7B | |
|---|---|---|
| RGB | rgb(127, 107, 123) | |
| RGB percent | rgb(49.8%, 42%, 48.2%) | |
| HSL | hsl(312, 9%, 46%) | |
| HSV / HSB | hsv(312, 16%, 50%) | |
| CMYK | cmyk(0%, 16%, 3%, 50%) | |
| CIE LAB | lab(47.57, 10.9, -5.92) | |
| CIE LCH | lch(47.57, 12.41, 331.48) | |
| CIE XYZ | xyz(17.585, 16.458, 20.985) | |
| Decimal | 8350587 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7F6B7B, 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 #7F6B7B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.29:1 | Fail | Fail | Pass |
| Sample text | 4.89:1 | Pass | Fail | Pass |
| #7F6B7B 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 #7F6B7B looks to people with the most common types of color vision deficiency.
#6b6f7cProtanopia
no red cones#6f727aDeuteranopia
no green cones#816c70Tritanopia
no blue cones#717171Achromatopsia
no color vision
CSS examples
.background { background-color: #7f6b7b; }
.text { color: #7f6b7b; }
.border { border: 2px solid #7f6b7b; }
.transparent { background-color: rgb(127 107 123 / 50%); }
.gradient { background: linear-gradient(to right, #7f6b7b, #7f6b71); }
Similar colors
#806b77Moonscape#7b6c7cSakura Night#816575Opera#74626dChimaera#766d7cMamba#716675Rum#91788cMuted Berry#7b737bCement Feet
Closest common color name: Space Gray.
Questions
- What color is #7F6B7B?
- #7F6B7B is a grayish magenta, closest to the named color Moonscape. It belongs to the gray family of colors.
- What is the RGB value of #7F6B7B?
- The RGB value is 127, 107, 123: 127 red, 107 green and 123 blue on a 0 to 255 scale.
- What is the complementary color of #7F6B7B?
- The complementary color is #6B7F6F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7F6B7B?
- 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.