#786F8A color
The hex color #786F8A is a grayish violet.
In the RGB color model it is made of 47.1% red, 43.5% green and 54.1% blue (120, 111, 138).
Its hue angle is 260°, with 11% saturation and 49% lightness. For print, the CMYK equivalent is 13% cyan, 20% magenta, 0% yellow and 46% black.
The closest named color is Bureaucracy (#746C8F), a difference of 2.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.73:1).
#786F8A color codes
| HEX | #786F8A | |
|---|---|---|
| RGB | rgb(120, 111, 138) | |
| RGB percent | rgb(47.1%, 43.5%, 54.1%) | |
| HSL | hsl(260, 11%, 49%) | |
| HSV / HSB | hsv(260, 20%, 54%) | |
| CMYK | cmyk(13%, 20%, 0%, 46%) | |
| CIE LAB | lab(48.51, 9.17, -13.51) | |
| CIE LCH | lch(48.51, 16.33, 304.18) | |
| CIE XYZ | xyz(18.017, 17.197, 26.41) | |
| Decimal | 7892874 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #786F8A, 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 #786F8A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.44:1 | Fail | Fail | Pass |
| Sample text | 4.73:1 | Pass | Fail | Pass |
| #786F8A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.73:1 | Pass | Fail | Pass |
| Sample text | 4.44: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 #786F8A looks to people with the most common types of color vision deficiency.
#6a738bProtanopia
no red cones#6b7389Deuteranopia
no green cones#757378Tritanopia
no blue cones#737373Achromatopsia
no color vision
CSS examples
.background { background-color: #786f8a; }
.text { color: #786f8a; }
.border { border: 2px solid #786f8a; }
.transparent { background-color: rgb(120 111 138 / 50%); }
.gradient { background: linear-gradient(to right, #786f8a, #856f8a); }
Similar colors
#746c8fBureaucracy#7b6c8eNymph’s Delight#787489Flying Carpet#807396Purple Haze#847592Vintage#6a6887Heron#6b6c89Dark Prince#766d7cMamba
Closest common color name: Space Gray.
Questions
- What color is #786F8A?
- #786F8A is a grayish violet, closest to the named color Bureaucracy. It belongs to the purple family of colors.
- What is the RGB value of #786F8A?
- The RGB value is 120, 111, 138: 120 red, 111 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #786F8A?
- The complementary color is #818A6F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #786F8A?
- White text. Black text has a contrast ratio of 4.44:1 and white text 4.73:1. WCAG asks for at least 4.5:1 for normal text.