#786B81 color
The hex color #786B81 is a grayish violet.
In the RGB color model it is made of 47.1% red, 42% green and 50.6% blue (120, 107, 129).
Its hue angle is 275°, with 9% saturation and 46% lightness. For print, the CMYK equivalent is 7% cyan, 17% magenta, 0% yellow and 49% black.
The closest named color is Sakura Night (#7B6C7C), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.98:1).
#786B81 color codes
| HEX | #786B81 | |
|---|---|---|
| RGB | rgb(120, 107, 129) | |
| RGB percent | rgb(47.1%, 42%, 50.6%) | |
| HSL | hsl(275, 9%, 46%) | |
| HSV / HSB | hsv(275, 17%, 51%) | |
| CMYK | cmyk(7%, 17%, 0%, 49%) | |
| CIE LAB | lab(47.1, 9.55, -10.28) | |
| CIE LCH | lch(47.1, 14.03, 312.88) | |
| CIE XYZ | xyz(16.965, 16.094, 22.977) | |
| Decimal | 7891841 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #786B81, 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 #786B81 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.22:1 | Fail | Fail | Pass |
| Sample text | 4.98:1 | Pass | Fail | Pass |
| #786B81 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.98:1 | Pass | Fail | Pass |
| Sample text | 4.22: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 #786B81 looks to people with the most common types of color vision deficiency.
#686f82Protanopia
no red cones#6a7080Deuteranopia
no green cones#776e72Tritanopia
no blue cones#707070Achromatopsia
no color vision
CSS examples
.background { background-color: #786b81; }
.text { color: #786b81; }
.border { border: 2px solid #786b81; }
.transparent { background-color: rgb(120 107 129 / 50%); }
.gradient { background: linear-gradient(to right, #786b81, #816b7f); }
Similar colors
#7b6c7cSakura Night#766d7cMamba#716675Rum#7b6c8eNymph’s Delight#787489Flying Carpet#746c8fBureaucracy#847592Vintage#806b77Moonscape
Closest common color name: Space Gray.
Questions
- What color is #786B81?
- #786B81 is a grayish violet, closest to the named color Sakura Night. It belongs to the purple family of colors.
- What is the RGB value of #786B81?
- The RGB value is 120, 107, 129: 120 red, 107 green and 129 blue on a 0 to 255 scale.
- What is the complementary color of #786B81?
- The complementary color is #74816B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #786B81?
- White text. Black text has a contrast ratio of 4.22:1 and white text 4.98:1. WCAG asks for at least 4.5:1 for normal text.