#786F87 color
The hex color #786F87 is a grayish violet.
In the RGB color model it is made of 47.1% red, 43.5% green and 52.9% blue (120, 111, 135).
Its hue angle is 263°, with 10% saturation and 48% lightness. For print, the CMYK equivalent is 11% cyan, 18% magenta, 0% yellow and 47% black.
The closest named color is Flying Carpet (#787489), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.75:1).
#786F87 color codes
| HEX | #786F87 | |
|---|---|---|
| RGB | rgb(120, 111, 135) | |
| RGB percent | rgb(47.1%, 43.5%, 52.9%) | |
| HSL | hsl(263, 10%, 48%) | |
| HSV / HSB | hsv(263, 18%, 53%) | |
| CMYK | cmyk(11%, 18%, 0%, 47%) | |
| CIE LAB | lab(48.4, 8.49, -11.89) | |
| CIE LCH | lch(48.4, 14.61, 305.53) | |
| CIE XYZ | xyz(17.803, 17.111, 25.282) | |
| Decimal | 7892871 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #786F87, 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 #786F87 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.42:1 | Fail | Fail | Pass |
| Sample text | 4.75:1 | Pass | Fail | Pass |
| #786F87 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.75:1 | Pass | Fail | Pass |
| Sample text | 4.42: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 #786F87 looks to people with the most common types of color vision deficiency.
#6b7388Protanopia
no red cones#6c7386Deuteranopia
no green cones#767277Tritanopia
no blue cones#737373Achromatopsia
no color vision
CSS examples
.background { background-color: #786f87; }
.text { color: #786f87; }
.border { border: 2px solid #786f87; }
.transparent { background-color: rgb(120 111 135 / 50%); }
.gradient { background: linear-gradient(to right, #786f87, #846f87); }
Similar colors
#787489Flying Carpet#766d7cMamba#746c8fBureaucracy#7b6c8eNymph’s Delight#7b6c7cSakura Night#847592Vintage#807396Purple Haze#6b6c89Dark Prince
Closest common color name: Space Gray.
Questions
- What color is #786F87?
- #786F87 is a grayish violet, closest to the named color Flying Carpet. It belongs to the purple family of colors.
- What is the RGB value of #786F87?
- The RGB value is 120, 111, 135: 120 red, 111 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #786F87?
- The complementary color is #7E876F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #786F87?
- White text. Black text has a contrast ratio of 4.42:1 and white text 4.75:1. WCAG asks for at least 4.5:1 for normal text.