#8C7A9A color
The hex color #8C7A9A is a grayish violet.
In the RGB color model it is made of 54.9% red, 47.8% green and 60.4% blue (140, 122, 154).
Its hue angle is 274°, with 14% saturation and 54% lightness. For print, the CMYK equivalent is 9% cyan, 21% magenta, 0% yellow and 40% black.
The closest named color is Vintage (#847592), a difference of 2.6 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.37:1).
#8C7A9A color codes
| HEX | #8C7A9A | |
|---|---|---|
| RGB | rgb(140, 122, 154) | |
| RGB percent | rgb(54.9%, 47.8%, 60.4%) | |
| HSL | hsl(274, 14%, 54%) | |
| HSV / HSB | hsv(274, 21%, 60%) | |
| CMYK | cmyk(9%, 21%, 0%, 40%) | |
| CIE LAB | lab(53.84, 13.24, -14.64) | |
| CIE LCH | lch(53.84, 19.74, 312.12) | |
| CIE XYZ | xyz(23.606, 21.828, 33.535) | |
| Decimal | 9206426 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8C7A9A, 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 #8C7A9A | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.37:1 | Pass | Fail | Pass |
| Sample text | 3.91:1 | Fail | Fail | Pass |
| #8C7A9A as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.91:1 | Fail | Fail | Pass |
| Sample text | 5.37: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 #8C7A9A looks to people with the most common types of color vision deficiency.
#75809bProtanopia
no red cones#798199Deuteranopia
no green cones#8b7e85Tritanopia
no blue cones#818181Achromatopsia
no color vision
CSS examples
.background { background-color: #8c7a9a; }
.text { color: #8c7a9a; }
.border { border: 2px solid #8c7a9a; }
.transparent { background-color: rgb(140 122 154 / 50%); }
.gradient { background: linear-gradient(to right, #8c7a9a, #9a7a98); }
Similar colors
#847592Vintage#807396Purple Haze#967d96Amorous#95859cHatoba Pigeon#91788cMuted Berry#867ba9Aster#7b6c8eNymph’s Delight#777799Stormy Horizon
Closest common color name: Lavender Purple.
Questions
- What color is #8C7A9A?
- #8C7A9A is a grayish violet, closest to the named color Vintage. It belongs to the purple family of colors.
- What is the RGB value of #8C7A9A?
- The RGB value is 140, 122, 154: 140 red, 122 green and 154 blue on a 0 to 255 scale.
- What is the complementary color of #8C7A9A?
- The complementary color is #889A7A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8C7A9A?
- Black text. Black text has a contrast ratio of 5.37:1 and white text 3.91:1. WCAG asks for at least 4.5:1 for normal text.