#9791A6 color
The hex color #9791A6 is a grayish violet.
In the RGB color model it is made of 59.2% red, 56.9% green and 65.1% blue (151, 145, 166).
Its hue angle is 257°, with 11% saturation and 61% lightness. For print, the CMYK equivalent is 9% cyan, 13% magenta, 0% yellow and 35% black.
The closest named color is Machinery (#9999AA), a difference of 4 ΔE, a small difference.
Black text is the more readable choice on this background (contrast 6.92:1).
#9791A6 color codes
| HEX | #9791A6 | |
|---|---|---|
| RGB | rgb(151, 145, 166) | |
| RGB percent | rgb(59.2%, 56.9%, 65.1%) | |
| HSL | hsl(257, 11%, 61%) | |
| HSV / HSB | hsv(257, 13%, 65%) | |
| CMYK | cmyk(9%, 13%, 0%, 35%) | |
| CIE LAB | lab(61.29, 6.4, -10.23) | |
| CIE LCH | lch(61.29, 12.06, 302.03) | |
| CIE XYZ | xyz(29.77, 29.583, 40.211) | |
| Decimal | 9933222 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9791A6, 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 #9791A6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.92:1 | Pass | Fail | Pass |
| Sample text | 3.04:1 | Fail | Fail | Pass |
| #9791A6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.04:1 | Fail | Fail | Pass |
| Sample text | 6.92: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 #9791A6 looks to people with the most common types of color vision deficiency.
#8d94a7Protanopia
no red cones#8e94a5Deuteranopia
no green cones#959498Tritanopia
no blue cones#949494Achromatopsia
no color vision
CSS examples
.background { background-color: #9791a6; }
.text { color: #9791a6; }
.border { border: 2px solid #9791a6; }
.transparent { background-color: rgb(151 145 166 / 50%); }
.gradient { background: linear-gradient(to right, #9791a6, #a291a6); }
Similar colors
#9999aaMachinery#9998a7Lavender Ash#9596a4Too Big to Whale#888899Dusty Chimney#95859cHatoba Pigeon#8c92acCool Gray#948593Femme Fatale#9b959cLunar Light
Questions
- What color is #9791A6?
- #9791A6 is a grayish violet, closest to the named color Machinery. It belongs to the gray family of colors.
- What is the RGB value of #9791A6?
- The RGB value is 151, 145, 166: 151 red, 145 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #9791A6?
- The complementary color is #A0A691, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9791A6?
- Black text. Black text has a contrast ratio of 6.92:1 and white text 3.04:1. WCAG asks for at least 4.5:1 for normal text.