#9A87A6 color
The hex color #9A87A6 is a grayish violet.
In the RGB color model it is made of 60.4% red, 52.9% green and 65.1% blue (154, 135, 166).
Its hue angle is 277°, with 15% saturation and 59% lightness. For print, the CMYK equivalent is 7% cyan, 19% magenta, 0% yellow and 35% black.
The closest named color is Hatoba Pigeon (#95859C), a difference of 3 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.39:1).
#9A87A6 color codes
| HEX | #9A87A6 | |
|---|---|---|
| RGB | rgb(154, 135, 166) | |
| RGB percent | rgb(60.4%, 52.9%, 65.1%) | |
| HSL | hsl(277, 15%, 59%) | |
| HSV / HSB | hsv(277, 19%, 65%) | |
| CMYK | cmyk(7%, 19%, 0%, 35%) | |
| CIE LAB | lab(58.93, 13.14, -13.75) | |
| CIE LCH | lch(58.93, 19.02, 313.7) | |
| CIE XYZ | xyz(28.872, 26.951, 39.75) | |
| Decimal | 10127270 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9A87A6, 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 #9A87A6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.39:1 | Pass | Fail | Pass |
| Sample text | 3.29:1 | Fail | Fail | Pass |
| #9A87A6 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 #9A87A6 looks to people with the most common types of color vision deficiency.
#838da7Protanopia
no red cones#868ea5Deuteranopia
no green cones#998b91Tritanopia
no blue cones#8e8e8eAchromatopsia
no color vision
CSS examples
.background { background-color: #9a87a6; }
.text { color: #9a87a6; }
.border { border: 2px solid #9a87a6; }
.transparent { background-color: rgb(154 135 166 / 50%); }
.gradient { background: linear-gradient(to right, #9a87a6, #a687a3); }
Similar colors
#95859cHatoba Pigeon#a090b8Wizard’s Brew#967d96Amorous#b090b2Metal Petal#af8ba8Voila!#a893c1Enchanted Lilac#948593Femme Fatale#91788cMuted Berry
Closest common color name: Pastel Purple.
Questions
- What color is #9A87A6?
- #9A87A6 is a grayish violet, closest to the named color Hatoba Pigeon. It belongs to the purple family of colors.
- What is the RGB value of #9A87A6?
- The RGB value is 154, 135, 166: 154 red, 135 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #9A87A6?
- The complementary color is #93A687, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9A87A6?
- 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.