#786C7F color
The hex color #786C7F is a grayish violet.
In the RGB color model it is made of 47.1% red, 42.4% green and 49.8% blue (120, 108, 127).
Its hue angle is 278°, with 8% saturation and 46% lightness. For print, the CMYK equivalent is 6% cyan, 15% magenta, 0% yellow and 50% black.
The closest named color is Sakura Night (#7B6C7C), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 4.94:1).
#786C7F color codes
| HEX | #786C7F | |
|---|---|---|
| RGB | rgb(120, 108, 127) | |
| RGB percent | rgb(47.1%, 42.4%, 49.8%) | |
| HSL | hsl(278, 8%, 46%) | |
| HSV / HSB | hsv(278, 15%, 50%) | |
| CMYK | cmyk(6%, 15%, 0%, 50%) | |
| CIE LAB | lab(47.3, 8.52, -8.78) | |
| CIE LCH | lch(47.3, 12.24, 314.13) | |
| CIE XYZ | xyz(16.938, 16.251, 22.319) | |
| Decimal | 7892095 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #786C7F, 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 #786C7F | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.25:1 | Fail | Fail | Pass |
| Sample text | 4.94:1 | Pass | Fail | Pass |
| #786C7F as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.94:1 | Pass | Fail | Pass |
| Sample text | 4.25: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 #786C7F looks to people with the most common types of color vision deficiency.
#6a6f80Protanopia
no red cones#6c707eDeuteranopia
no green cones#786e72Tritanopia
no blue cones#707070Achromatopsia
no color vision
CSS examples
.background { background-color: #786c7f; }
.text { color: #786c7f; }
.border { border: 2px solid #786c7f; }
.transparent { background-color: rgb(120 108 127 / 50%); }
.gradient { background: linear-gradient(to right, #786c7f, #7f6c7d); }
Similar colors
#7b6c7cSakura Night#766d7cMamba#716675Rum#787489Flying Carpet#806b77Moonscape#7b6c8eNymph’s Delight#74626dChimaera#847592Vintage
Closest common color name: Space Gray.
Questions
- What color is #786C7F?
- #786C7F is a grayish violet, closest to the named color Sakura Night. It belongs to the gray family of colors.
- What is the RGB value of #786C7F?
- The RGB value is 120, 108, 127: 120 red, 108 green and 127 blue on a 0 to 255 scale.
- What is the complementary color of #786C7F?
- The complementary color is #737F6C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #786C7F?
- White text. Black text has a contrast ratio of 4.25:1 and white text 4.94:1. WCAG asks for at least 4.5:1 for normal text.