#786BA2 color
The hex color #786BA2 is a grayish violet.
In the RGB color model it is made of 47.1% red, 42% green and 63.5% blue (120, 107, 162).
Its hue angle is 254°, with 23% saturation and 53% lightness. For print, the CMYK equivalent is 26% cyan, 34% magenta, 0% yellow and 36% black.
The closest named color is Scampi (#6F63A0), a difference of 3.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.75:1).
#786BA2 color codes
| HEX | #786BA2 | |
|---|---|---|
| RGB | rgb(120, 107, 162) | |
| RGB percent | rgb(47.1%, 42%, 63.5%) | |
| HSL | hsl(254, 23%, 53%) | |
| HSV / HSB | hsv(254, 34%, 64%) | |
| CMYK | cmyk(26%, 34%, 0%, 36%) | |
| CIE LAB | lab(48.41, 17.4, -27.82) | |
| CIE LCH | lch(48.41, 32.82, 302.02) | |
| CIE XYZ | xyz(19.523, 17.117, 36.451) | |
| Decimal | 7891874 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #786BA2, 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 #786BA2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.42:1 | Fail | Fail | Pass |
| Sample text | 4.75:1 | Pass | Fail | Pass |
| #786BA2 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 #786BA2 looks to people with the most common types of color vision deficiency.
#5d73a4Protanopia
no red cones#5e72a1Deuteranopia
no green cones#6f747fTritanopia
no blue cones#737373Achromatopsia
no color vision
CSS examples
.background { background-color: #786ba2; }
.text { color: #786ba2; }
.border { border: 2px solid #786ba2; }
.transparent { background-color: rgb(120 107 162 / 50%); }
.gradient { background: linear-gradient(to right, #786ba2, #946ba2); }
Similar colors
#6f63a0Scampi#746c8fBureaucracy#7b6c8eNymph’s Delight#807396Purple Haze#867ba9Aster#7a6dc0Venus Violet#636ca8Twinkle Night#777799Stormy Horizon
Closest common color name: Lavender Purple.
Questions
- What color is #786BA2?
- #786BA2 is a grayish violet, closest to the named color Scampi. It belongs to the blue family of colors.
- What is the RGB value of #786BA2?
- The RGB value is 120, 107, 162: 120 red, 107 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #786BA2?
- The complementary color is #95A26B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #786BA2?
- 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.