#8B0087 color
The hex color #8B0087 is a dark, vivid magenta.
In the RGB color model it is made of 54.5% red, 0% green and 52.9% blue (139, 0, 135).
Its hue angle is 302°, with 100% saturation and 27% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 3% yellow and 45% black.
The closest named color is Dark Magenta (#8B008B), a difference of 0.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.58:1).
#8B0087 color codes
| HEX | #8B0087 | |
|---|---|---|
| RGB | rgb(139, 0, 135) | |
| RGB percent | rgb(54.5%, 0%, 52.9%) | |
| HSL | hsl(302, 100%, 27%) | |
| HSV / HSB | hsv(302, 100%, 55%) | |
| CMYK | cmyk(0%, 100%, 3%, 45%) | |
| CIE LAB | lab(32.35, 61.94, -36.65) | |
| CIE LCH | lch(32.35, 71.97, 329.38) | |
| CIE XYZ | xyz(15.021, 7.24, 23.523) | |
| Decimal | 9109639 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8B0087, 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 #8B0087 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.45:1 | Fail | Fail | Fail |
| Sample text | 8.58:1 | Pass | Pass | Pass |
| #8B0087 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.58:1 | Pass | Pass | Pass |
| Sample text | 2.45: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 #8B0087 looks to people with the most common types of color vision deficiency.
#00418aProtanopia
no red cones#385284Deuteranopia
no green cones#90214dTritanopia
no blue cones#4c4c4cAchromatopsia
no color vision
CSS examples
.background { background-color: #8b0087; }
.text { color: #8b0087; }
.border { border: 2px solid #8b0087; }
.transparent { background-color: rgb(139 0 135 / 50%); }
.gradient { background: linear-gradient(to right, #8b0087, #8b0042); }
Similar colors
#8b008bDark Magenta#800080Purple#802280Hello Darkness My Old Friend#881177Royal Purpleness#871f78Noble Plum#770088Ultraberry#990077Persian Luxury Purple#952e8fWarm Purple
Questions
- What color is #8B0087?
- #8B0087 is a dark, vivid magenta, closest to the named color Dark Magenta. It belongs to the purple family of colors.
- What is the RGB value of #8B0087?
- The RGB value is 139, 0, 135: 139 red, 0 green and 135 blue on a 0 to 255 scale.
- What is the complementary color of #8B0087?
- The complementary color is #008B04, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8B0087?
- White text. Black text has a contrast ratio of 2.45:1 and white text 8.58:1. WCAG asks for at least 4.5:1 for normal text.