#AC7FAC color
The hex color #AC7FAC is a grayish magenta.
In the RGB color model it is made of 67.5% red, 49.8% green and 67.5% blue (172, 127, 172).
Its hue angle is 300°, with 21% saturation and 59% lightness. For print, the CMYK equivalent is 0% cyan, 26% magenta, 0% yellow and 33% black.
The closest named color is Heart Potion (#A97FB1), a difference of 1.8 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 6.39:1).
#AC7FAC color codes
| HEX | #AC7FAC | |
|---|---|---|
| RGB | rgb(172, 127, 172) | |
| RGB percent | rgb(67.5%, 49.8%, 67.5%) | |
| HSL | hsl(300, 21%, 59%) | |
| HSV / HSB | hsv(300, 26%, 67%) | |
| CMYK | cmyk(0%, 26%, 0%, 33%) | |
| CIE LAB | lab(58.91, 25.13, -17.05) | |
| CIE LCH | lch(58.91, 30.37, 325.85) | |
| CIE XYZ | xyz(32.048, 26.929, 42.531) | |
| Decimal | 11304876 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AC7FAC, 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 #AC7FAC | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.39:1 | Pass | Fail | Pass |
| Sample text | 3.29:1 | Fail | Fail | Pass |
| #AC7FAC as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.29:1 | Fail | Fail | Pass |
| Sample text | 6.39: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 #AC7FAC looks to people with the most common types of color vision deficiency.
#7c8aaeProtanopia
no red cones#8690aaDeuteranopia
no green cones#af838fTritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #ac7fac; }
.text { color: #ac7fac; }
.border { border: 2px solid #ac7fac; }
.transparent { background-color: rgb(172 127 172 / 50%); }
.gradient { background: linear-gradient(to right, #ac7fac, #ac7f96); }
Similar colors
#a97fb1Heart Potion#ab7cb4Berries Galore#b97da8Romanov Mauve#a37298Drama Queen#af8ba8Voila!#b090b2Metal Petal#bf90bbLa la Love#bf8fc4Violaceous
Closest common color name: Lavender Purple.
Questions
- What color is #AC7FAC?
- #AC7FAC is a grayish magenta, closest to the named color Heart Potion. It belongs to the purple family of colors.
- What is the RGB value of #AC7FAC?
- The RGB value is 172, 127, 172: 172 red, 127 green and 172 blue on a 0 to 255 scale.
- What is the complementary color of #AC7FAC?
- The complementary color is #7FAC7F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AC7FAC?
- Black text. Black text has a contrast ratio of 6.39:1 and white text 3.29:1. WCAG asks for at least 4.5:1 for normal text.