#786DA7 color
The hex color #786DA7 is a grayish violet.
In the RGB color model it is made of 47.1% red, 42.7% green and 65.5% blue (120, 109, 167).
Its hue angle is 251°, with 25% saturation and 54% lightness. For print, the CMYK equivalent is 28% cyan, 35% magenta, 0% yellow and 35% black.
The closest named color is Scampi (#6F63A0), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.62:1).
#786DA7 color codes
| HEX | #786DA7 | |
|---|---|---|
| RGB | rgb(120, 109, 167) | |
| RGB percent | rgb(47.1%, 42.7%, 65.5%) | |
| HSL | hsl(251, 25%, 54%) | |
| HSV / HSB | hsv(251, 35%, 65%) | |
| CMYK | cmyk(28%, 35%, 0%, 35%) | |
| CIE LAB | lab(49.15, 17.48, -29.59) | |
| CIE LCH | lch(49.15, 34.37, 300.58) | |
| CIE XYZ | xyz(20.188, 17.72, 38.908) | |
| Decimal | 7892391 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #786DA7, 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 #786DA7 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.54:1 | Pass | Fail | Pass |
| Sample text | 4.62:1 | Pass | Fail | Pass |
| #786DA7 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.62:1 | Pass | Fail | Pass |
| Sample text | 4.54:1 | Pass | 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 #786DA7 looks to people with the most common types of color vision deficiency.
#5d76a9Protanopia
no red cones#5e74a5Deuteranopia
no green cones#6e7782Tritanopia
no blue cones#757575Achromatopsia
no color vision
CSS examples
.background { background-color: #786da7; }
.text { color: #786da7; }
.border { border: 2px solid #786da7; }
.transparent { background-color: rgb(120 109 167 / 50%); }
.gradient { background: linear-gradient(to right, #786da7, #956da7); }
Similar colors
#6f63a0Scampi#7a6dc0Venus Violet#8469bcLavish Spending#636ca8Twinkle Night#867ba9Aster#746c8fBureaucracy#777799Stormy Horizon#807396Purple Haze
Closest common color name: Lavender Purple.
Questions
- What color is #786DA7?
- #786DA7 is a grayish violet, closest to the named color Scampi. It belongs to the blue family of colors.
- What is the RGB value of #786DA7?
- The RGB value is 120, 109, 167: 120 red, 109 green and 167 blue on a 0 to 255 scale.
- What is the complementary color of #786DA7?
- The complementary color is #9CA76D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #786DA7?
- White text. Black text has a contrast ratio of 4.54:1 and white text 4.62:1. WCAG asks for at least 4.5:1 for normal text.