#786699 color
The hex color #786699 is a grayish violet.
In the RGB color model it is made of 47.1% red, 40% green and 60% blue (120, 102, 153).
Its hue angle is 261°, with 20% saturation and 50% lightness. For print, the CMYK equivalent is 22% cyan, 33% magenta, 0% yellow and 40% black.
The closest named color is Scampi (#6F63A0), a difference of 3.7 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.05:1).
#786699 color codes
| HEX | #786699 | |
|---|---|---|
| RGB | rgb(120, 102, 153) | |
| RGB percent | rgb(47.1%, 40%, 60%) | |
| HSL | hsl(261, 20%, 50%) | |
| HSV / HSB | hsv(261, 33%, 60%) | |
| CMYK | cmyk(22%, 33%, 0%, 40%) | |
| CIE LAB | lab(46.71, 18.15, -25.16) | |
| CIE LCH | lch(46.71, 31.02, 305.81) | |
| CIE XYZ | xyz(18.246, 15.796, 32.218) | |
| Decimal | 7890585 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #786699, 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 #786699 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.16:1 | Fail | Fail | Pass |
| Sample text | 5.05:1 | Pass | Fail | Pass |
| #786699 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.05:1 | Pass | Fail | Pass |
| Sample text | 4.16: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 #786699 looks to people with the most common types of color vision deficiency.
#5a6f9bProtanopia
no red cones#5e6e98Deuteranopia
no green cones#726e79Tritanopia
no blue cones#6f6f6fAchromatopsia
no color vision
CSS examples
.background { background-color: #786699; }
.text { color: #786699; }
.border { border: 2px solid #786699; }
.transparent { background-color: rgb(120 102 153 / 50%); }
.gradient { background: linear-gradient(to right, #786699, #926699); }
Similar colors
#6f63a0Scampi#746c8fBureaucracy#7b6c8eNymph’s Delight#6f5698Passion Flower#807396Purple Haze#655883Berry Jam#805b87Muted Purple#6a6887Heron
Closest common color name: Royal Purple.
Questions
- What color is #786699?
- #786699 is a grayish violet, closest to the named color Scampi. It belongs to the purple family of colors.
- What is the RGB value of #786699?
- The RGB value is 120, 102, 153: 120 red, 102 green and 153 blue on a 0 to 255 scale.
- What is the complementary color of #786699?
- The complementary color is #879966, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #786699?
- White text. Black text has a contrast ratio of 4.16:1 and white text 5.05:1. WCAG asks for at least 4.5:1 for normal text.