#8C27AC color
The hex color #8C27AC is a moderate magenta.
In the RGB color model it is made of 54.9% red, 15.3% green and 67.5% blue (140, 39, 172).
Its hue angle is 286°, with 63% saturation and 41% lightness. For print, the CMYK equivalent is 19% cyan, 77% magenta, 0% yellow and 33% black.
The closest named color is Pleasant Purple (#8833AA), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 7:1).
#8C27AC color codes
| HEX | #8C27AC | |
|---|---|---|
| RGB | rgb(140, 39, 172) | |
| RGB percent | rgb(54.9%, 15.3%, 67.5%) | |
| HSL | hsl(286, 63%, 41%) | |
| HSV / HSB | hsv(286, 77%, 67%) | |
| CMYK | cmyk(19%, 77%, 0%, 33%) | |
| CIE LAB | lab(37.85, 60.16, -50.33) | |
| CIE LCH | lch(37.85, 78.44, 320.08) | |
| CIE XYZ | xyz(18.986, 10.006, 39.953) | |
| Decimal | 9185196 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8C27AC, 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 #8C27AC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3:1 | Fail | Fail | Pass |
| Sample text | 7:1 | Pass | Fail | Pass |
| #8C27AC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7:1 | Pass | Fail | Pass |
| Sample text | 3:1 | Fail | Fail | Pass |
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 #8C27AC looks to people with the most common types of color vision deficiency.
#0053b0Protanopia
no red cones#265ca9Deuteranopia
no green cones#8a4569Tritanopia
no blue cones#595959Achromatopsia
no color vision
CSS examples
.background { background-color: #8c27ac; }
.text { color: #8c27ac; }
.border { border: 2px solid #8c27ac; }
.transparent { background-color: rgb(140 39 172 / 50%); }
.gradient { background: linear-gradient(to right, #8c27ac, #ac278a); }
Similar colors
#8833aaPleasant Purple#7733aaPurple Pristine#7722aaFuchsia Nebula#a104c3Nebula#7737aaShredder Lavender#9a2ca0Purple Ink#8601bfViolet Poison#772299Orb of Discord
Closest common color name: Grape.
Questions
- What color is #8C27AC?
- #8C27AC is a moderate magenta, closest to the named color Pleasant Purple. It belongs to the purple family of colors.
- What is the RGB value of #8C27AC?
- The RGB value is 140, 39, 172: 140 red, 39 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #8C27AC?
- The complementary color is #47AC27, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8C27AC?
- White text. Black text has a contrast ratio of 3:1 and white text 7:1. WCAG asks for at least 4.5:1 for normal text.