#7E6BA1 color
The hex color #7E6BA1 is a grayish violet.
In the RGB color model it is made of 49.4% red, 42% green and 63.1% blue (126, 107, 161).
Its hue angle is 261°, with 22% saturation and 53% lightness. For print, the CMYK equivalent is 22% cyan, 34% magenta, 0% yellow and 37% black.
The closest named color is Scampi (#6F63A0), a difference of 4.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.66:1).
#7E6BA1 color codes
| HEX | #7E6BA1 | |
|---|---|---|
| RGB | rgb(126, 107, 161) | |
| RGB percent | rgb(49.4%, 42%, 63.1%) | |
| HSL | hsl(261, 22%, 53%) | |
| HSV / HSB | hsv(261, 34%, 63%) | |
| CMYK | cmyk(22%, 34%, 0%, 37%) | |
| CIE LAB | lab(48.91, 19.04, -26.41) | |
| CIE LCH | lch(48.91, 32.56, 305.79) | |
| CIE XYZ | xyz(20.293, 17.524, 36.025) | |
| Decimal | 8285089 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E6BA1, 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 #7E6BA1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.5:1 | Pass | Fail | Pass |
| Sample text | 4.66:1 | Pass | Fail | Pass |
| #7E6BA1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.66:1 | Pass | Fail | Pass |
| Sample text | 4.5: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 #7E6BA1 looks to people with the most common types of color vision deficiency.
#5f74a3Protanopia
no red cones#6274a0Deuteranopia
no green cones#78747fTritanopia
no blue cones#747474Achromatopsia
no color vision
CSS examples
.background { background-color: #7e6ba1; }
.text { color: #7e6ba1; }
.border { border: 2px solid #7e6ba1; }
.transparent { background-color: rgb(126 107 161 / 50%); }
.gradient { background: linear-gradient(to right, #7e6ba1, #996ba1); }
Similar colors
#6f63a0Scampi#946dadCrown Jewels#7b6c8eNymph’s Delight#807396Purple Haze#746c8fBureaucracy#867ba9Aster#966ebdViola#7a6dc0Venus Violet
Closest common color name: Lavender Purple.
Questions
- What color is #7E6BA1?
- #7E6BA1 is a grayish violet, closest to the named color Scampi. It belongs to the purple family of colors.
- What is the RGB value of #7E6BA1?
- The RGB value is 126, 107, 161: 126 red, 107 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #7E6BA1?
- The complementary color is #8EA16B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E6BA1?
- White text. Black text has a contrast ratio of 4.5:1 and white text 4.66:1. WCAG asks for at least 4.5:1 for normal text.