#7E2A85 color
The hex color #7E2A85 is a dark, moderate magenta.
In the RGB color model it is made of 49.4% red, 16.5% green and 52.2% blue (126, 42, 133).
Its hue angle is 295°, with 52% saturation and 34% lightness. For print, the CMYK equivalent is 5% cyan, 68% magenta, 0% yellow and 48% black.
The closest named color is Hello Darkness My Old Friend (#802280), a difference of 1.6 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.21:1).
#7E2A85 color codes
| HEX | #7E2A85 | |
|---|---|---|
| RGB | rgb(126, 42, 133) | |
| RGB percent | rgb(49.4%, 16.5%, 52.2%) | |
| HSL | hsl(295, 52%, 34%) | |
| HSV / HSB | hsv(295, 68%, 52%) | |
| CMYK | cmyk(5%, 68%, 0%, 48%) | |
| CIE LAB | lab(33.53, 48.43, -33.66) | |
| CIE LCH | lch(33.53, 58.98, 325.21) | |
| CIE XYZ | xyz(13.665, 7.786, 22.969) | |
| Decimal | 8268421 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7E2A85, 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 #7E2A85 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.56:1 | Fail | Fail | Fail |
| Sample text | 8.21:1 | Pass | Pass | Pass |
| #7E2A85 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.21:1 | Pass | Pass | Pass |
| Sample text | 2.56:1 | Fail | Fail | Fail |
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 #7E2A85 looks to people with the most common types of color vision deficiency.
#164888Protanopia
no red cones#3b5283Deuteranopia
no green cones#813854Tritanopia
no blue cones#4f4f4fAchromatopsia
no color vision
CSS examples
.background { background-color: #7e2a85; }
.text { color: #7e2a85; }
.border { border: 2px solid #7e2a85; }
.transparent { background-color: rgb(126 42 133 / 50%); }
.gradient { background: linear-gradient(to right, #7e2a85, #852a5e); }
Similar colors
#802280Hello Darkness My Old Friend#853682Purple Sultan#871f78Noble Plum#8b008bDark Magenta#6b327bGalactic Grapevine#800080Purple#881177Royal Purpleness#952e8fWarm Purple
Questions
- What color is #7E2A85?
- #7E2A85 is a dark, moderate magenta, closest to the named color Hello Darkness My Old Friend. It belongs to the purple family of colors.
- What is the RGB value of #7E2A85?
- The RGB value is 126, 42, 133: 126 red, 42 green and 133 blue on a 0 to 255 scale.
- What is the complementary color of #7E2A85?
- The complementary color is #31852A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7E2A85?
- White text. Black text has a contrast ratio of 2.56:1 and white text 8.21:1. WCAG asks for at least 4.5:1 for normal text.