#A217A2 color
The hex color #A217A2 is a dark, moderate magenta.
In the RGB color model it is made of 63.5% red, 9% green and 63.5% blue (162, 23, 162).
Its hue angle is 300°, with 75% saturation and 36% lightness. For print, the CMYK equivalent is 0% cyan, 86% magenta, 0% yellow and 36% black.
The closest named color is Magentle (#AA11AA), a difference of 1.7 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 6.6:1).
#A217A2 color codes
| HEX | #A217A2 | |
|---|---|---|
| RGB | rgb(162, 23, 162) | |
| RGB percent | rgb(63.5%, 9%, 63.5%) | |
| HSL | hsl(300, 75%, 36%) | |
| HSV / HSB | hsv(300, 86%, 64%) | |
| CMYK | cmyk(0%, 86%, 0%, 36%) | |
| CIE LAB | lab(39.42, 66.85, -41.63) | |
| CIE LCH | lch(39.42, 78.75, 328.09) | |
| CIE XYZ | xyz(21.728, 10.904, 35.136) | |
| Decimal | 10622882 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #A217A2, 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 #A217A2 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.18:1 | Fail | Fail | Pass |
| Sample text | 6.6:1 | Pass | Fail | Pass |
| #A217A2 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.6:1 | Pass | Fail | Pass |
| Sample text | 3.18: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 #A217A2 looks to people with the most common types of color vision deficiency.
#0052a5Protanopia
no red cones#44639fDeuteranopia
no green cones#a73360Tritanopia
no blue cones#5d5d5dAchromatopsia
no color vision
CSS examples
.background { background-color: #a217a2; }
.text { color: #a217a2; }
.border { border: 2px solid #a217a2; }
.transparent { background-color: rgb(162 23 162 / 50%); }
.gradient { background: linear-gradient(to right, #a217a2, #a2175d); }
Similar colors
#aa11aaMagentle#9a2ca0Purple Ink#952e8fWarm Purple#aa22bbMagentleman#bb00aaPurple Pirate#bb11aaPunk Rock Purple#a104c3Nebula#bb0099Jealous Jellyfish
Closest common color name: Dark Magenta.
Questions
- What color is #A217A2?
- #A217A2 is a dark, moderate magenta, closest to the named color Magentle. It belongs to the purple family of colors.
- What is the RGB value of #A217A2?
- The RGB value is 162, 23, 162: 162 red, 23 green and 162 blue on a 0 to 255 scale.
- What is the complementary color of #A217A2?
- The complementary color is #17A217, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #A217A2?
- White text. Black text has a contrast ratio of 3.18:1 and white text 6.6:1. WCAG asks for at least 4.5:1 for normal text.