#766787 color
The hex color #766787 is a grayish violet.
In the RGB color model it is made of 46.3% red, 40.4% green and 52.9% blue (118, 103, 135).
Its hue angle is 268°, with 13% saturation and 47% lightness. For print, the CMYK equivalent is 13% cyan, 24% magenta, 0% yellow and 47% black.
The closest named color is Nymph’s Delight (#7B6C8E), a difference of 2.1 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.17:1).
#766787 color codes
| HEX | #766787 | |
|---|---|---|
| RGB | rgb(118, 103, 135) | |
| RGB percent | rgb(46.3%, 40.4%, 52.9%) | |
| HSL | hsl(268, 13%, 47%) | |
| HSV / HSB | hsv(268, 24%, 53%) | |
| CMYK | cmyk(13%, 24%, 0%, 47%) | |
| CIE LAB | lab(46.04, 12.58, -15.48) | |
| CIE LCH | lch(46.04, 19.95, 309.1) | |
| CIE XYZ | xyz(16.694, 15.301, 24.991) | |
| Decimal | 7759751 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #766787, 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 #766787 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.06:1 | Fail | Fail | Pass |
| Sample text | 5.17:1 | Pass | Fail | Pass |
| #766787 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.17:1 | Pass | Fail | Pass |
| Sample text | 4.06: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 #766787 looks to people with the most common types of color vision deficiency.
#616c88Protanopia
no red cones#646d86Deuteranopia
no green cones#746b72Tritanopia
no blue cones#6d6d6dAchromatopsia
no color vision
CSS examples
.background { background-color: #766787; }
.text { color: #766787; }
.border { border: 2px solid #766787; }
.transparent { background-color: rgb(118 103 135 / 50%); }
.gradient { background: linear-gradient(to right, #766787, #866787); }
Similar colors
#7b6c8eNymph’s Delight#746c8fBureaucracy#807396Purple Haze#6a6887Heron#675a75Plummy#847592Vintage#886688Sunshone Plum#7b6c7cSakura Night
Closest common color name: Lavender Purple.
Questions
- What color is #766787?
- #766787 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 #766787?
- The RGB value is 118, 103, 135: 118 red, 103 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #766787?
- The complementary color is #788767, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #766787?
- White text. Black text has a contrast ratio of 4.06:1 and white text 5.17:1. WCAG asks for at least 4.5:1 for normal text.