#A178A1 color
The hex color #A178A1 is a grayish magenta.
In the RGB color model it is made of 63.1% red, 47.1% green and 63.1% blue (161, 120, 161).
Its hue angle is 300°, with 18% saturation and 55% lightness. For print, the CMYK equivalent is 0% cyan, 25% magenta, 0% yellow and 37% black.
The closest named color is Drama Queen (#A37298), a difference of 2.8 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.72:1).
#A178A1 color codes
| HEX | #A178A1 | |
|---|---|---|
| RGB | rgb(161, 120, 161) | |
| RGB percent | rgb(63.1%, 47.1%, 63.1%) | |
| HSL | hsl(300, 18%, 55%) | |
| HSV / HSB | hsv(300, 25%, 63%) | |
| CMYK | cmyk(0%, 25%, 0%, 37%) | |
| CIE LAB | lab(55.67, 23.17, -15.74) | |
| CIE LCH | lch(55.67, 28.01, 325.8) | |
| CIE XYZ | xyz(27.847, 23.584, 36.797) | |
| Decimal | 10582177 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A178A1, 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 #A178A1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.72:1 | Pass | Fail | Pass |
| Sample text | 3.67:1 | Fail | Fail | Pass |
| #A178A1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.67:1 | Fail | Fail | Pass |
| Sample text | 5.72: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 #A178A1 looks to people with the most common types of color vision deficiency.
#7582a3Protanopia
no red cones#7f87a0Deuteranopia
no green cones#a47b86Tritanopia
no blue cones#858585Achromatopsia
no color vision
CSS examples
.background { background-color: #a178a1; }
.text { color: #a178a1; }
.border { border: 2px solid #a178a1; }
.transparent { background-color: rgb(161 120 161 / 50%); }
.gradient { background: linear-gradient(to right, #a178a1, #a1788d); }
Similar colors
#a37298Drama Queen#a97fb1Heart Potion#ab7cb4Berries Galore#b97da8Romanov Mauve#967d96Amorous#af8ba8Voila!#967bb6Lavender Purple#b36b92Je t’aime
Questions
- What color is #A178A1?
- #A178A1 is a grayish magenta, closest to the named color Drama Queen. It belongs to the purple family of colors.
- What is the RGB value of #A178A1?
- The RGB value is 161, 120, 161: 161 red, 120 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #A178A1?
- The complementary color is #78A178, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A178A1?
- Black text. Black text has a contrast ratio of 5.72:1 and white text 3.67:1. WCAG asks for at least 4.5:1 for normal text.