#AC87A8 color
The hex color #AC87A8 is a grayish magenta.
In the RGB color model it is made of 67.5% red, 52.9% green and 65.9% blue (172, 135, 168).
Its hue angle is 306°, with 18% saturation and 60% lightness. For print, the CMYK equivalent is 0% cyan, 22% magenta, 2% yellow and 33% black.
The closest named color is Voila! (#AF8BA8), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.79:1).
#AC87A8 color codes
| HEX | #AC87A8 | |
|---|---|---|
| RGB | rgb(172, 135, 168) | |
| RGB percent | rgb(67.5%, 52.9%, 65.9%) | |
| HSL | hsl(306, 18%, 60%) | |
| HSV / HSB | hsv(306, 22%, 67%) | |
| CMYK | cmyk(0%, 22%, 2%, 33%) | |
| CIE LAB | lab(60.72, 19.84, -12.03) | |
| CIE LCH | lch(60.72, 23.2, 328.76) | |
| CIE XYZ | xyz(32.744, 28.927, 40.897) | |
| Decimal | 11306920 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AC87A8, 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 #AC87A8 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.79:1 | Pass | Fail | Pass |
| Sample text | 3.09:1 | Fail | Fail | Pass |
| #AC87A8 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.09:1 | Fail | Fail | Pass |
| Sample text | 6.79:1 | Pass | 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 #AC87A8 looks to people with the most common types of color vision deficiency.
#868fa9Protanopia
no red cones#8e94a7Deuteranopia
no green cones#af8992Tritanopia
no blue cones#929292Achromatopsia
no color vision
CSS examples
.background { background-color: #ac87a8; }
.text { color: #ac87a8; }
.border { border: 2px solid #ac87a8; }
.transparent { background-color: rgb(172 135 168 / 50%); }
.gradient { background: linear-gradient(to right, #ac87a8, #ac8796); }
Similar colors
#af8ba8Voila!#b090b2Metal Petal#bf91b2Mauve Magic#bf90bbLa la Love#a97fb1Heart Potion#b97da8Romanov Mauve#bb99bbDripping Wisteria#967d96Amorous
Closest common color name: Pastel Purple.
Questions
- What color is #AC87A8?
- #AC87A8 is a grayish magenta, closest to the named color Voila!. It belongs to the purple family of colors.
- What is the RGB value of #AC87A8?
- The RGB value is 172, 135, 168: 172 red, 135 green and 168 blue on a 0 to 255 scale.
- What is the complementary color of #AC87A8?
- The complementary color is #87AC8B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AC87A8?
- Black text. Black text has a contrast ratio of 6.79:1 and white text 3.09:1. WCAG asks for at least 4.5:1 for normal text.