#7F7987 color

#7F7987 rgb(127, 121, 135)
Shades of gray

The hex color #7F7987 is a gray.

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

Its hue angle is 266°, with 6% saturation and 50% lightness. For print, the CMYK equivalent is 6% cyan, 10% magenta, 0% yellow and 47% black.

The closest named color is Silver Surfer (#7E7D88), a difference of 3.2 ΔE, a small difference.

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

#7F7987 color codes

HEX#7F7987
RGBrgb(127, 121, 135)
RGB percentrgb(49.8%, 47.5%, 52.9%)
HSLhsl(266, 6%, 50%)
HSV / HSBhsv(266, 10%, 53%)
CMYKcmyk(6%, 10%, 0%, 47%)
CIE LABlab(51.76, 5.12, -6.79)
CIE LCHlch(51.76, 8.5, 307.02)
CIE XYZxyz(19.962, 19.936, 25.713)
Decimal8354183
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

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

Similar colors

Closest common color name: Space Gray.

Questions

What color is #7F7987?
#7F7987 is a gray, closest to the named color Silver Surfer. It belongs to the gray family of colors.
What is the RGB value of #7F7987?
The RGB value is 127, 121, 135: 127 red, 121 green and 135 blue on a 0 to 255 scale.
What is the complementary color of #7F7987?
The complementary color is #818779, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7F7987?
Black text. Black text has a contrast ratio of 4.99:1 and white text 4.21:1. WCAG asks for at least 4.5:1 for normal text.