#9791A6 color

#9791A6 rgb(151, 145, 166)
Shades of gray

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
RGBrgb(151, 145, 166)
RGB percentrgb(59.2%, 56.9%, 65.1%)
HSLhsl(257, 11%, 61%)
HSV / HSBhsv(257, 13%, 65%)
CMYKcmyk(9%, 13%, 0%, 35%)
CIE LABlab(61.29, 6.4, -10.23)
CIE LCHlch(61.29, 12.06, 302.03)
CIE XYZxyz(29.77, 29.583, 40.211)
Decimal9933222
Short hexNone (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 #9791A6RatioAAAAAAA large
Sample text6.92:1PassFailPass
Sample text3.04:1FailFailPass
#9791A6 as text onRatioAAAAAAA large
Sample text3.04:1FailFailPass
Sample text6.92:1PassFailPass

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.

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); }
Background
Text color
Border

Similar colors

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.