#8C7FA0 color
The hex color #8C7FA0 is a grayish violet.
In the RGB color model it is made of 54.9% red, 49.8% green and 62.7% blue (140, 127, 160).
Its hue angle is 264°, with 15% saturation and 56% lightness. For print, the CMYK equivalent is 12% cyan, 21% magenta, 0% yellow and 37% black.
The closest named color is Vintage (#847592), a difference of 4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.66:1).
#8C7FA0 color codes
| HEX | #8C7FA0 | |
|---|---|---|
| RGB | rgb(140, 127, 160) | |
| RGB percent | rgb(54.9%, 49.8%, 62.7%) | |
| HSL | hsl(264, 15%, 56%) | |
| HSV / HSB | hsv(264, 21%, 63%) | |
| CMYK | cmyk(12%, 21%, 0%, 37%) | |
| CIE LAB | lab(55.37, 11.64, -15.81) | |
| CIE LCH | lch(55.37, 19.63, 306.38) | |
| CIE XYZ | xyz(24.749, 23.292, 36.443) | |
| Decimal | 9207712 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8C7FA0, 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 #8C7FA0 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.66:1 | Pass | Fail | Pass |
| Sample text | 3.71:1 | Fail | Fail | Pass |
| #8C7FA0 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.71:1 | Fail | Fail | Pass |
| Sample text | 5.66: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 #8C7FA0 looks to people with the most common types of color vision deficiency.
#7984a1Protanopia
no red cones#7b859fDeuteranopia
no green cones#89848aTritanopia
no blue cones#858585Achromatopsia
no color vision
CSS examples
.background { background-color: #8c7fa0; }
.text { color: #8c7fa0; }
.border { border: 2px solid #8c7fa0; }
.transparent { background-color: rgb(140 127 160 / 50%); }
.gradient { background: linear-gradient(to right, #8c7fa0, #9d7fa0); }
Similar colors
#847592Vintage#95859cHatoba Pigeon#867ba9Aster#807396Purple Haze#967d96Amorous#777799Stormy Horizon#a090b8Wizard’s Brew#91788cMuted Berry
Closest common color name: Lavender Purple.
Questions
- What color is #8C7FA0?
- #8C7FA0 is a grayish violet, closest to the named color Vintage. It belongs to the purple family of colors.
- What is the RGB value of #8C7FA0?
- The RGB value is 140, 127, 160: 140 red, 127 green and 160 blue on a 0 to 255 scale.
- What is the complementary color of #8C7FA0?
- The complementary color is #93A07F, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8C7FA0?
- Black text. Black text has a contrast ratio of 5.66:1 and white text 3.71:1. WCAG asks for at least 4.5:1 for normal text.