#8A7798 color
The hex color #8A7798 is a grayish violet.
In the RGB color model it is made of 54.1% red, 46.7% green and 59.6% blue (138, 119, 152).
Its hue angle is 275°, with 14% saturation and 53% lightness. For print, the CMYK equivalent is 9% cyan, 22% magenta, 0% yellow and 40% black.
The closest named color is Vintage (#847592), a difference of 2.1 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.17:1).
#8A7798 color codes
| HEX | #8A7798 | |
|---|---|---|
| RGB | rgb(138, 119, 152) | |
| RGB percent | rgb(54.1%, 46.7%, 59.6%) | |
| HSL | hsl(275, 14%, 53%) | |
| HSV / HSB | hsv(275, 22%, 60%) | |
| CMYK | cmyk(9%, 22%, 0%, 40%) | |
| CIE LAB | lab(52.8, 13.87, -15.08) | |
| CIE LCH | lch(52.8, 20.49, 312.6) | |
| CIE XYZ | xyz(22.745, 20.864, 32.529) | |
| Decimal | 9074584 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8A7798, 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 #8A7798 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.17:1 | Pass | Fail | Pass |
| Sample text | 4.06:1 | Fail | Fail | Pass |
| #8A7798 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.06:1 | Fail | Fail | Pass |
| Sample text | 5.17: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 #8A7798 looks to people with the most common types of color vision deficiency.
#727d99Protanopia
no red cones#767e97Deuteranopia
no green cones#897b82Tritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #8a7798; }
.text { color: #8a7798; }
.border { border: 2px solid #8a7798; }
.transparent { background-color: rgb(138 119 152 / 50%); }
.gradient { background: linear-gradient(to right, #8a7798, #987796); }
Similar colors
#847592Vintage#807396Purple Haze#967d96Amorous#7b6c8eNymph’s Delight#91788cMuted Berry#867ba9Aster#95859cHatoba Pigeon#746c8fBureaucracy
Closest common color name: Lavender Purple.
Questions
- What color is #8A7798?
- #8A7798 is a grayish violet, closest to the named color Vintage. It belongs to the purple family of colors.
- What is the RGB value of #8A7798?
- The RGB value is 138, 119, 152: 138 red, 119 green and 152 blue on a 0 to 255 scale.
- What is the complementary color of #8A7798?
- The complementary color is #859877, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8A7798?
- Black text. Black text has a contrast ratio of 5.17:1 and white text 4.06:1. WCAG asks for at least 4.5:1 for normal text.