#8B2E82 color
The hex color #8B2E82 is a dark, moderate magenta.
In the RGB color model it is made of 54.5% red, 18% green and 51% blue (139, 46, 130).
Its hue angle is 306°, with 50% saturation and 36% lightness. For print, the CMYK equivalent is 0% cyan, 67% magenta, 6% yellow and 45% black.
The closest named color is Purple Sultan (#853682), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7.47:1).
#8B2E82 color codes
| HEX | #8B2E82 | |
|---|---|---|
| RGB | rgb(139, 46, 130) | |
| RGB percent | rgb(54.5%, 18%, 51%) | |
| HSL | hsl(306, 50%, 36%) | |
| HSV / HSB | hsv(306, 67%, 55%) | |
| CMYK | cmyk(0%, 67%, 6%, 45%) | |
| CIE LAB | lab(36.09, 49.54, -27.61) | |
| CIE LCH | lch(36.09, 56.71, 330.86) | |
| CIE XYZ | xyz(15.654, 9.056, 22.038) | |
| Decimal | 9121410 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8B2E82, 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 #8B2E82 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.81:1 | Fail | Fail | Fail |
| Sample text | 7.47:1 | Pass | Pass | Pass |
| #8B2E82 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.47:1 | Pass | Pass | Pass |
| Sample text | 2.81: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 #8B2E82 looks to people with the most common types of color vision deficiency.
#294c84Protanopia
no red cones#495a80Deuteranopia
no green cones#913754Tritanopia
no blue cones#555555Achromatopsia
no color vision
CSS examples
.background { background-color: #8b2e82; }
.text { color: #8b2e82; }
.border { border: 2px solid #8b2e82; }
.transparent { background-color: rgb(139 46 130 / 50%); }
.gradient { background: linear-gradient(to right, #8b2e82, #8b2e54); }
Similar colors
#853682Purple Sultan#943589Purple Excellency#952e8fWarm Purple#883377Violet Vixen#871f78Noble Plum#802280Hello Darkness My Old Friend#881177Royal Purpleness#991177Haunted Purple
Closest common color name: Plum.
Questions
- What color is #8B2E82?
- #8B2E82 is a dark, moderate magenta, closest to the named color Purple Sultan. It belongs to the purple family of colors.
- What is the RGB value of #8B2E82?
- The RGB value is 139, 46, 130: 139 red, 46 green and 130 blue on a 0 to 255 scale.
- What is the complementary color of #8B2E82?
- The complementary color is #2E8B37, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8B2E82?
- White text. Black text has a contrast ratio of 2.81:1 and white text 7.47:1. WCAG asks for at least 4.5:1 for normal text.