#817A97 color
The hex color #817A97 is a grayish violet.
In the RGB color model it is made of 50.6% red, 47.8% green and 59.2% blue (129, 122, 151).
Its hue angle is 254°, with 12% saturation and 54% lightness. For print, the CMYK equivalent is 15% cyan, 19% magenta, 0% yellow and 41% black.
The closest named color is Vintage (#847592), a difference of 3.2 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 5.16:1).
#817A97 color codes
| HEX | #817A97 | |
|---|---|---|
| RGB | rgb(129, 122, 151) | |
| RGB percent | rgb(50.6%, 47.8%, 59.2%) | |
| HSL | hsl(254, 12%, 54%) | |
| HSV / HSB | hsv(254, 19%, 59%) | |
| CMYK | cmyk(15%, 19%, 0%, 41%) | |
| CIE LAB | lab(52.75, 8.76, -14.64) | |
| CIE LCH | lch(52.75, 17.07, 300.9) | |
| CIE XYZ | xyz(21.598, 20.82, 32.153) | |
| Decimal | 8485527 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #817A97, 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 #817A97 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.16:1 | Pass | Fail | Pass |
| Sample text | 4.07:1 | Fail | Fail | Pass |
| #817A97 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.07:1 | Fail | Fail | Pass |
| Sample text | 5.16: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 #817A97 looks to people with the most common types of color vision deficiency.
#747e98Protanopia
no red cones#757e96Deuteranopia
no green cones#7d7e84Tritanopia
no blue cones#7e7e7eAchromatopsia
no color vision
CSS examples
.background { background-color: #817a97; }
.text { color: #817a97; }
.border { border: 2px solid #817a97; }
.transparent { background-color: rgb(129 122 151 / 50%); }
.gradient { background: linear-gradient(to right, #817a97, #8f7a97); }
Similar colors
#847592Vintage#807396Purple Haze#777799Stormy Horizon#787489Flying Carpet#867ba9Aster#746c8fBureaucracy#7b6c8eNymph’s Delight#95859cHatoba Pigeon
Closest common color name: Lavender Purple.
Questions
- What color is #817A97?
- #817A97 is a grayish violet, closest to the named color Vintage. It belongs to the blue family of colors.
- What is the RGB value of #817A97?
- The RGB value is 129, 122, 151: 129 red, 122 green and 151 blue on a 0 to 255 scale.
- What is the complementary color of #817A97?
- The complementary color is #90977A, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #817A97?
- Black text. Black text has a contrast ratio of 5.16:1 and white text 4.07:1. WCAG asks for at least 4.5:1 for normal text.