#8A007E color
The hex color #8A007E is a dark, vivid magenta.
In the RGB color model it is made of 54.1% red, 0% green and 49.4% blue (138, 0, 126).
Its hue angle is 305°, with 100% saturation and 27% lightness. For print, the CMYK equivalent is 0% cyan, 100% magenta, 9% yellow and 46% black.
The closest named color is Royal Purpleness (#881177), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 8.82:1).
#8A007E color codes
| HEX | #8A007E | |
|---|---|---|
| RGB | rgb(138, 0, 126) | |
| RGB percent | rgb(54.1%, 0%, 49.4%) | |
| HSL | hsl(305, 100%, 27%) | |
| HSV / HSB | hsv(305, 100%, 54%) | |
| CMYK | cmyk(0%, 100%, 9%, 46%) | |
| CIE LAB | lab(31.6, 60.42, -32.21) | |
| CIE LCH | lch(31.6, 68.47, 331.93) | |
| CIE XYZ | xyz(14.247, 6.911, 20.318) | |
| Decimal | 9044094 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A007E, 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 #8A007E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.38:1 | Fail | Fail | Fail |
| Sample text | 8.82:1 | Pass | Pass | Pass |
| #8A007E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.82:1 | Pass | Pass | Pass |
| Sample text | 2.38: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 #8A007E looks to people with the most common types of color vision deficiency.
#003f81Protanopia
no red cones#3c507bDeuteranopia
no green cones#911b48Tritanopia
no blue cones#4a4a4aAchromatopsia
no color vision
CSS examples
.background { background-color: #8a007e; }
.text { color: #8a007e; }
.border { border: 2px solid #8a007e; }
.transparent { background-color: rgb(138 0 126 / 50%); }
.gradient { background: linear-gradient(to right, #8a007e, #8a0039); }
Similar colors
#881177Royal Purpleness#800080Purple#8b008bDark Magenta#871f78Noble Plum#802280Hello Darkness My Old Friend#990077Persian Luxury Purple#991177Haunted Purple#880066Grapest
Questions
- What color is #8A007E?
- #8A007E is a dark, vivid magenta, closest to the named color Royal Purpleness. It belongs to the purple family of colors.
- What is the RGB value of #8A007E?
- The RGB value is 138, 0, 126: 138 red, 0 green and 126 blue on a 0 to 255 scale.
- What is the complementary color of #8A007E?
- The complementary color is #008A0C, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A007E?
- White text. Black text has a contrast ratio of 2.38:1 and white text 8.82:1. WCAG asks for at least 4.5:1 for normal text.