#8A798C color

#8A798C rgb(138, 121, 140)
Shades of gray

The hex color #8A798C is a gray.

In the RGB color model it is made of 54.1% red, 47.5% green and 54.9% blue (138, 121, 140).

Its hue angle is 294°, with 8% saturation and 51% lightness. For print, the CMYK equivalent is 1% cyan, 14% magenta, 0% yellow and 45% black.

The closest named color is Muted Berry (#91788C), a difference of 2.8 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 5.19:1).

#8A798C color codes

HEX#8A798C
RGBrgb(138, 121, 140)
RGB percentrgb(54.1%, 47.5%, 54.9%)
HSLhsl(294, 8%, 51%)
HSV / HSBhsv(294, 14%, 55%)
CMYKcmyk(1%, 14%, 0%, 45%)
CIE LABlab(52.92, 10.17, -7.89)
CIE LCHlch(52.92, 12.87, 322.2)
CIE XYZxyz(22.052, 20.972, 27.692)
Decimal9075084
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #8A798C, 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 #8A798CRatioAAAAAAA large
Sample text5.19:1PassFailPass
Sample text4.04:1FailFailPass
#8A798C as text onRatioAAAAAAA large
Sample text4.04:1FailFailPass
Sample text5.19: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 #8A798C looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #8a798c; }
.text { color: #8a798c; }
.border { border: 2px solid #8a798c; }
.transparent { background-color: rgb(138 121 140 / 50%); }
.gradient { background: linear-gradient(to right, #8a798c, #8c7985); }
Background
Text color
Border

Similar colors

Closest common color name: Lavender Purple.

Questions

What color is #8A798C?
#8A798C is a gray, closest to the named color Muted Berry. It belongs to the gray family of colors.
What is the RGB value of #8A798C?
The RGB value is 138, 121, 140: 138 red, 121 green and 140 blue on a 0 to 255 scale.
What is the complementary color of #8A798C?
The complementary color is #7B8C79, found by rotating the hue 180° on the color wheel.
Is black or white text better on #8A798C?
Black text. Black text has a contrast ratio of 5.19:1 and white text 4.04:1. WCAG asks for at least 4.5:1 for normal text.