#87006C color
The hex color #87006C is a dark, vivid magenta.
In the RGB color model it is made of 52.9% red, 0% green and 42.4% blue (135, 0, 108).
Its hue angle is 312°, with 100% saturation and 26% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 20% yellow and 47% black.
The closest named color is Grapest (#880066), a difference of 1.5 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 9.35:1).
#87006C color codes
| HEX | #87006C | |
|---|---|---|
| RGB | rgb(135, 0, 108) | |
| RGB percent | rgb(52.9%, 0%, 42.4%) | |
| HSL | hsl(312, 100%, 26%) | |
| HSV / HSB | hsv(312, 100%, 53%) | |
| CMYK | cmyk(0%, 100%, 20%, 47%) | |
| CIE LAB | lab(30, 57.34, -23.34) | |
| CIE LCH | lch(30, 61.91, 337.85) | |
| CIE XYZ | xyz(12.699, 6.235, 14.719) | |
| Decimal | 8847468 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #87006C, 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 #87006C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.25:1 | Fail | Fail | Fail |
| Sample text | 9.35:1 | Pass | Pass | Pass |
| #87006C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 9.35:1 | Pass | Pass | Pass |
| Sample text | 2.25: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 #87006C looks to people with the most common types of color vision deficiency.
#123a6eProtanopia
no red cones#424d69Deuteranopia
no green cones#900a3dTritanopia
no blue cones#474747Achromatopsia
no color vision
CSS examples
.background { background-color: #87006c; }
.text { color: #87006c; }
.border { border: 2px solid #87006c; }
.transparent { background-color: rgb(135 0 108 / 50%); }
.gradient { background: linear-gradient(to right, #87006c, #870028); }
Similar colors
#880066Grapest#881166Possessed Purple#871466Bane of Royalty#881177Royal Purpleness#871f78Noble Plum#990077Persian Luxury Purple#991177Haunted Purple#9900668 Bit Eggplant
Closest common color name: Purple.
Questions
- What color is #87006C?
- #87006C is a dark, vivid magenta, closest to the named color Grapest. It belongs to the purple family of colors.
- What is the RGB value of #87006C?
- The RGB value is 135, 0, 108: 135 red, 0 green and 108 blue on a 0 to 255 scale.
- What is the complementary color of #87006C?
- The complementary color is #00871B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #87006C?
- White text. Black text has a contrast ratio of 2.25:1 and white text 9.35:1. WCAG asks for at least 4.5:1 for normal text.