#817A99 color
The hex color #817A99 is a grayish violet.
In the RGB color model it is made of 50.6% red, 47.8% green and 60% blue (129, 122, 153).
Its hue angle is 254°, with 13% saturation and 54% lightness. For print, the CMYK equivalent is 16% cyan, 20% magenta, 0% yellow and 40% black.
The closest named color is Purple Haze (#807396), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.18:1).
#817A99 color codes
| HEX | #817A99 | |
|---|---|---|
| RGB | rgb(129, 122, 153) | |
| RGB percent | rgb(50.6%, 47.8%, 60%) | |
| HSL | hsl(254, 13%, 54%) | |
| HSV / HSB | hsv(254, 20%, 60%) | |
| CMYK | cmyk(16%, 20%, 0%, 40%) | |
| CIE LAB | lab(52.82, 9.22, -15.7) | |
| CIE LCH | lch(52.82, 18.21, 300.43) | |
| CIE XYZ | xyz(21.761, 20.886, 33.016) | |
| Decimal | 8485529 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #817A99, 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 #817A99 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.18:1 | Pass | Fail | Pass |
| Sample text | 4.06:1 | Fail | Fail | Pass |
| #817A99 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.06:1 | Fail | Fail | Pass |
| Sample text | 5.18: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 #817A99 looks to people with the most common types of color vision deficiency.
#737e9aProtanopia
no red cones#747e98Deuteranopia
no green cones#7d7f84Tritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #817a99; }
.text { color: #817a99; }
.border { border: 2px solid #817a99; }
.transparent { background-color: rgb(129 122 153 / 50%); }
.gradient { background: linear-gradient(to right, #817a99, #907a99); }
Similar colors
#807396Purple Haze#777799Stormy Horizon#847592Vintage#867ba9Aster#787489Flying Carpet#746c8fBureaucracy#7b6c8eNymph’s Delight#95859cHatoba Pigeon
Closest common color name: Lavender Purple.
Questions
- What color is #817A99?
- #817A99 is a grayish violet, closest to the named color Purple Haze. It belongs to the blue family of colors.
- What is the RGB value of #817A99?
- The RGB value is 129, 122, 153: 129 red, 122 green and 153 blue on a 0 to 255 scale.
- What is the complementary color of #817A99?
- The complementary color is #92997A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #817A99?
- Black text. Black text has a contrast ratio of 5.18:1 and white text 4.06:1. WCAG asks for at least 4.5:1 for normal text.