#7E6C9B color
The hex color #7E6C9B is a grayish violet.
In the RGB color model it is made of 49.4% red, 42.4% green and 60.8% blue (126, 108, 155).
Its hue angle is 263°, with 19% saturation and 52% lightness. For print, the CMYK equivalent is 19% cyan, 30% magenta, 0% yellow and 39% black.
The closest named color is Nymph’s Delight (#7B6C8E), a difference of 3.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.66:1).
#7E6C9B color codes
| HEX | #7E6C9B | |
|---|---|---|
| RGB | rgb(126, 108, 155) | |
| RGB percent | rgb(49.4%, 42.4%, 60.8%) | |
| HSL | hsl(263, 19%, 52%) | |
| HSV / HSB | hsv(263, 30%, 61%) | |
| CMYK | cmyk(19%, 30%, 0%, 39%) | |
| CIE LAB | lab(48.92, 16.99, -22.88) | |
| CIE LCH | lch(48.92, 28.5, 306.6) | |
| CIE XYZ | xyz(19.882, 17.527, 33.34) | |
| Decimal | 8285339 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E6C9B, 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 #7E6C9B | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.51:1 | Pass | Fail | Pass |
| Sample text | 4.66:1 | Pass | Fail | Pass |
| #7E6C9B as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.66:1 | Pass | Fail | Pass |
| Sample text | 4.51: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 #7E6C9B looks to people with the most common types of color vision deficiency.
#62749dProtanopia
no red cones#65749aDeuteranopia
no green cones#79737dTritanopia
no blue cones#747474Achromatopsia
no color vision
CSS examples
.background { background-color: #7e6c9b; }
.text { color: #7e6c9b; }
.border { border: 2px solid #7e6c9b; }
.transparent { background-color: rgb(126 108 155 / 50%); }
.gradient { background: linear-gradient(to right, #7e6c9b, #956c9b); }
Similar colors
#7b6c8eNymph’s Delight#807396Purple Haze#746c8fBureaucracy#867ba9Aster#6f63a0Scampi#847592Vintage#946dadCrown Jewels#777799Stormy Horizon
Closest common color name: Lavender Purple.
Questions
- What color is #7E6C9B?
- #7E6C9B 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 #7E6C9B?
- The RGB value is 126, 108, 155: 126 red, 108 green and 155 blue on a 0 to 255 scale.
- What is the complementary color of #7E6C9B?
- The complementary color is #899B6C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E6C9B?
- White text. Black text has a contrast ratio of 4.51:1 and white text 4.66:1. WCAG asks for at least 4.5:1 for normal text.