#7F798E color

#7F798E rgb(127, 121, 142)
Shades of gray

The hex color #7F798E is a grayish violet.

In the RGB color model it is made of 49.8% red, 47.5% green and 55.7% blue (127, 121, 142).

Its hue angle is 257°, with 9% saturation and 52% lightness. For print, the CMYK equivalent is 11% cyan, 15% magenta, 0% yellow and 44% black.

The closest named color is Flying Carpet (#787489), a difference of 2.3 ΔE, a small difference.

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

#7F798E color codes

HEX#7F798E
RGBrgb(127, 121, 142)
RGB percentrgb(49.8%, 47.5%, 55.7%)
HSLhsl(257, 9%, 52%)
HSV / HSBhsv(257, 15%, 56%)
CMYKcmyk(11%, 15%, 0%, 44%)
CIE LABlab(51.99, 6.63, -10.55)
CIE LCHlch(51.99, 12.46, 302.17)
CIE XYZxyz(20.471, 20.14, 28.395)
Decimal8354190
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #7f798e; }
.text { color: #7f798e; }
.border { border: 2px solid #7f798e; }
.transparent { background-color: rgb(127 121 142 / 50%); }
.gradient { background: linear-gradient(to right, #7f798e, #8a798e); }
Background
Text color
Border

Similar colors

Closest common color name: Space Gray.

Questions

What color is #7F798E?
#7F798E is a grayish violet, closest to the named color Flying Carpet. It belongs to the gray family of colors.
What is the RGB value of #7F798E?
The RGB value is 127, 121, 142: 127 red, 121 green and 142 blue on a 0 to 255 scale.
What is the complementary color of #7F798E?
The complementary color is #888E79, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7F798E?
Black text. Black text has a contrast ratio of 5.03:1 and white text 4.18:1. WCAG asks for at least 4.5:1 for normal text.