#9A7E9A color
The hex color #9A7E9A is a grayish magenta.
In the RGB color model it is made of 60.4% red, 49.4% green and 60.4% blue (154, 126, 154).
Its hue angle is 300°, with 12% saturation and 55% lightness. For print, the CMYK equivalent is 0% cyan, 18% magenta, 0% yellow and 40% black.
The closest named color is Amorous (#967D96), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.82:1).
#9A7E9A color codes
| HEX | #9A7E9A | |
|---|---|---|
| RGB | rgb(154, 126, 154) | |
| RGB percent | rgb(60.4%, 49.4%, 60.4%) | |
| HSL | hsl(300, 12%, 55%) | |
| HSV / HSB | hsv(300, 18%, 60%) | |
| CMYK | cmyk(0%, 18%, 0%, 40%) | |
| CIE LAB | lab(56.21, 15.87, -10.94) | |
| CIE LCH | lch(56.21, 19.27, 325.41) | |
| CIE XYZ | xyz(26.619, 24.125, 33.82) | |
| Decimal | 10124954 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9A7E9A, 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 #9A7E9A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.82:1 | Pass | Fail | Pass |
| Sample text | 3.61:1 | Fail | Fail | Pass |
| #9A7E9A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.61:1 | Fail | Fail | Pass |
| Sample text | 5.82: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 #9A7E9A looks to people with the most common types of color vision deficiency.
#7c859bProtanopia
no red cones#828899Deuteranopia
no green cones#9c8087Tritanopia
no blue cones#878787Achromatopsia
no color vision
CSS examples
.background { background-color: #9a7e9a; }
.text { color: #9a7e9a; }
.border { border: 2px solid #9a7e9a; }
.transparent { background-color: rgb(154 126 154 / 50%); }
.gradient { background: linear-gradient(to right, #9a7e9a, #9a7e8c); }
Similar colors
#967d96Amorous#91788cMuted Berry#95859cHatoba Pigeon#af8ba8Voila!#a37298Drama Queen#847592Vintage#948593Femme Fatale#a97fb1Heart Potion
Closest common color name: Lavender Purple.
Questions
- What color is #9A7E9A?
- #9A7E9A is a grayish magenta, closest to the named color Amorous. It belongs to the purple family of colors.
- What is the RGB value of #9A7E9A?
- The RGB value is 154, 126, 154: 154 red, 126 green and 154 blue on a 0 to 255 scale.
- What is the complementary color of #9A7E9A?
- The complementary color is #7E9A7E, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9A7E9A?
- Black text. Black text has a contrast ratio of 5.82:1 and white text 3.61:1. WCAG asks for at least 4.5:1 for normal text.