#7F5178 color

#7F5178 rgb(127, 81, 120)
Shades of purple

The hex color #7F5178 is a grayish magenta.

In the RGB color model it is made of 49.8% red, 31.8% green and 47.1% blue (127, 81, 120).

Its hue angle is 309°, with 22% saturation and 41% lightness. For print, the CMYK equivalent is 0% cyan, 36% magenta, 6% yellow and 50% black.

The closest named color is Plum Highness (#885577), a difference of 3 ΔE, a small difference.

White text is the more readable choice on this background (contrast 6.27:1).

#7F5178 color codes

HEX#7F5178
RGBrgb(127, 81, 120)
RGB percentrgb(49.8%, 31.8%, 47.1%)
HSLhsl(309, 22%, 41%)
HSV / HSBhsv(309, 36%, 50%)
CMYKcmyk(0%, 36%, 6%, 50%)
CIE LABlab(40.82, 25.79, -14.26)
CIE LCHlch(40.82, 29.47, 331.06)
CIE XYZxyz(15.085, 11.754, 19.24)
Decimal8343928
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7F5178, 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 #7F5178RatioAAAAAAA large
Sample text3.35:1FailFailPass
Sample text6.27:1PassFailPass
#7F5178 as text onRatioAAAAAAA large
Sample text6.27:1PassFailPass
Sample text3.35:1FailFailPass

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 #7F5178 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7f5178; }
.text { color: #7f5178; }
.border { border: 2px solid #7f5178; }
.transparent { background-color: rgb(127 81 120 / 50%); }
.gradient { background: linear-gradient(to right, #7f5178, #7f5161); }
Background
Text color
Border

Similar colors

Closest common color name: Plum.

Questions

What color is #7F5178?
#7F5178 is a grayish magenta, closest to the named color Plum Highness. It belongs to the purple family of colors.
What is the RGB value of #7F5178?
The RGB value is 127, 81, 120: 127 red, 81 green and 120 blue on a 0 to 255 scale.
What is the complementary color of #7F5178?
The complementary color is #517F58, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7F5178?
White text. Black text has a contrast ratio of 3.35:1 and white text 6.27:1. WCAG asks for at least 4.5:1 for normal text.