#8D2E7E color
The hex color #8D2E7E is a dark, moderate magenta.
In the RGB color model it is made of 55.3% red, 18% green and 49.4% blue (141, 46, 126).
Its hue angle is 309°, with 51% saturation and 37% lightness. For print, the CMYK equivalent is 0% cyan, 67% magenta, 11% yellow and 45% black.
The closest named color is Violet Vixen (#883377), a difference of 1.9 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.43:1).
#8D2E7E color codes
| HEX | #8D2E7E | |
|---|---|---|
| RGB | rgb(141, 46, 126) | |
| RGB percent | rgb(55.3%, 18%, 49.4%) | |
| HSL | hsl(309, 51%, 37%) | |
| HSV / HSB | hsv(309, 67%, 55%) | |
| CMYK | cmyk(0%, 67%, 11%, 45%) | |
| CIE LAB | lab(36.22, 49.4, -24.9) | |
| CIE LCH | lch(36.22, 55.32, 333.25) | |
| CIE XYZ | xyz(15.728, 9.124, 20.667) | |
| Decimal | 9252478 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8D2E7E, 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 #8D2E7E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.82:1 | Fail | Fail | Fail |
| Sample text | 7.43:1 | Pass | Pass | Pass |
| #8D2E7E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.43:1 | Pass | Pass | Pass |
| Sample text | 2.82: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 #8D2E7E looks to people with the most common types of color vision deficiency.
#2d4c80Protanopia
no red cones#4d5a7cDeuteranopia
no green cones#943552Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #8d2e7e; }
.text { color: #8d2e7e; }
.border { border: 2px solid #8d2e7e; }
.transparent { background-color: rgb(141 46 126 / 50%); }
.gradient { background: linear-gradient(to right, #8d2e7e, #8d2e4f); }
Similar colors
#883377Violet Vixen#853682Purple Sultan#943589Purple Excellency#871f78Noble Plum#952e8fWarm Purple#991177Haunted Purple#881177Royal Purpleness#802280Hello Darkness My Old Friend
Closest common color name: Plum.
Questions
- What color is #8D2E7E?
- #8D2E7E is a dark, moderate magenta, closest to the named color Violet Vixen. It belongs to the purple family of colors.
- What is the RGB value of #8D2E7E?
- The RGB value is 141, 46, 126: 141 red, 46 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #8D2E7E?
- The complementary color is #2E8D3D, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8D2E7E?
- White text. Black text has a contrast ratio of 2.82:1 and white text 7.43:1. WCAG asks for at least 4.5:1 for normal text.