#786A8A color
The hex color #786A8A is a grayish violet.
In the RGB color model it is made of 47.1% red, 41.6% green and 54.1% blue (120, 106, 138).
Its hue angle is 266°, with 13% saturation and 48% lightness. For print, the CMYK equivalent is 13% cyan, 23% magenta, 0% yellow and 46% black.
The closest named color is Nymph’s Delight (#7B6C8E), a difference of 1.2 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 4.97:1).
#786A8A color codes
| HEX | #786A8A | |
|---|---|---|
| RGB | rgb(120, 106, 138) | |
| RGB percent | rgb(47.1%, 41.6%, 54.1%) | |
| HSL | hsl(266, 13%, 48%) | |
| HSV / HSB | hsv(266, 23%, 54%) | |
| CMYK | cmyk(13%, 23%, 0%, 46%) | |
| CIE LAB | lab(47.15, 12.16, -15.57) | |
| CIE LCH | lch(47.15, 19.76, 308.01) | |
| CIE XYZ | xyz(17.486, 16.136, 26.233) | |
| Decimal | 7891594 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #786A8A, 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 #786A8A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.23:1 | Fail | Fail | Pass |
| Sample text | 4.97:1 | Pass | Fail | Pass |
| #786A8A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.97:1 | Pass | Fail | Pass |
| Sample text | 4.23: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 #786A8A looks to people with the most common types of color vision deficiency.
#646f8bProtanopia
no red cones#677089Deuteranopia
no green cones#756e75Tritanopia
no blue cones#707070Achromatopsia
no color vision
CSS examples
.background { background-color: #786a8a; }
.text { color: #786a8a; }
.border { border: 2px solid #786a8a; }
.transparent { background-color: rgb(120 106 138 / 50%); }
.gradient { background: linear-gradient(to right, #786a8a, #886a8a); }
Similar colors
#7b6c8eNymph’s Delight#746c8fBureaucracy#807396Purple Haze#847592Vintage#6a6887Heron#6b6c89Dark Prince#7b6c7cSakura Night#886688Sunshone Plum
Closest common color name: Lavender Purple.
Questions
- What color is #786A8A?
- #786A8A is a grayish violet, closest to the named color Nymph’s Delight. It belongs to the purple family of colors.
- What is the RGB value of #786A8A?
- The RGB value is 120, 106, 138: 120 red, 106 green and 138 blue on a 0 to 255 scale.
- What is the complementary color of #786A8A?
- The complementary color is #7C8A6A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #786A8A?
- White text. Black text has a contrast ratio of 4.23:1 and white text 4.97:1. WCAG asks for at least 4.5:1 for normal text.