#7E3BA2 color
The hex color #7E3BA2 is a desaturated violet.
In the RGB color model it is made of 49.4% red, 23.1% green and 63.5% blue (126, 59, 162).
Its hue angle is 279°, with 47% saturation and 43% lightness. For print, the CMYK equivalent is 22% cyan, 64% magenta, 0% yellow and 36% black.
The closest named color is Pleasant Purple (#8833AA), a difference of 2.4 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.92:1).
#7E3BA2 color codes
| HEX | #7E3BA2 | |
|---|---|---|
| RGB | rgb(126, 59, 162) | |
| RGB percent | rgb(49.4%, 23.1%, 63.5%) | |
| HSL | hsl(279, 47%, 43%) | |
| HSV / HSB | hsv(279, 64%, 64%) | |
| CMYK | cmyk(22%, 64%, 0%, 36%) | |
| CIE LAB | lab(38.15, 46.57, -43.98) | |
| CIE LCH | lch(38.15, 64.06, 316.64) | |
| CIE XYZ | xyz(16.689, 10.173, 35.26) | |
| Decimal | 8272802 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E3BA2, 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 #7E3BA2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.03:1 | Fail | Fail | Pass |
| Sample text | 6.92:1 | Pass | Fail | Pass |
| #7E3BA2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.92:1 | Pass | Fail | Pass |
| Sample text | 3.03: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 #7E3BA2 looks to people with the most common types of color vision deficiency.
#0c56a5Protanopia
no red cones#325ba0Deuteranopia
no green cones#7a4f69Tritanopia
no blue cones#5a5a5aAchromatopsia
no color vision
CSS examples
.background { background-color: #7e3ba2; }
.text { color: #7e3ba2; }
.border { border: 2px solid #7e3ba2; }
.transparent { background-color: rgb(126 59 162 / 50%); }
.gradient { background: linear-gradient(to right, #7e3ba2, #a23b93); }
Similar colors
#8833aaPleasant Purple#7737aaShredder Lavender#81459ePurple Pleasures#7733aaPurple Pristine#733c8ePerkin Mauve#6b3fa0Poppy Pompadour#69359cPurple Heart#6f2da8Grape
Questions
- What color is #7E3BA2?
- #7E3BA2 is a desaturated violet, closest to the named color Pleasant Purple. It belongs to the purple family of colors.
- What is the RGB value of #7E3BA2?
- The RGB value is 126, 59, 162: 126 red, 59 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #7E3BA2?
- The complementary color is #5FA23B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E3BA2?
- White text. Black text has a contrast ratio of 3.03:1 and white text 6.92:1. WCAG asks for at least 4.5:1 for normal text.