#7E4A80 color

#7E4A80 rgb(126, 74, 128)
Shades of purple

The hex color #7E4A80 is a desaturated magenta.

In the RGB color model it is made of 49.4% red, 29% green and 50.2% blue (126, 74, 128).

Its hue angle is 298°, with 27% saturation and 40% lightness. For print, the CMYK equivalent is 2% cyan, 42% magenta, 0% yellow and 50% black.

The closest named color is Prunella (#864788), a difference of 2.5 ΔE, a small difference.

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

#7E4A80 color codes

HEX#7E4A80
RGBrgb(126, 74, 128)
RGB percentrgb(49.4%, 29%, 50.2%)
HSLhsl(298, 27%, 40%)
HSV / HSBhsv(298, 42%, 50%)
CMYKcmyk(2%, 42%, 0%, 50%)
CIE LABlab(39.4, 31.11, -21.37)
CIE LCHlch(39.4, 37.74, 325.51)
CIE XYZxyz(14.949, 10.892, 21.733)
Decimal8276608
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7E4A80, 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 #7E4A80RatioAAAAAAA large
Sample text3.18:1FailFailPass
Sample text6.61:1PassFailPass
#7E4A80 as text onRatioAAAAAAA large
Sample text6.61:1PassFailPass
Sample text3.18: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 #7E4A80 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7e4a80; }
.text { color: #7e4a80; }
.border { border: 2px solid #7e4a80; }
.transparent { background-color: rgb(126 74 128 / 50%); }
.gradient { background: linear-gradient(to right, #7e4a80, #804a67); }
Background
Text color
Border

Similar colors

Questions

What color is #7E4A80?
#7E4A80 is a desaturated magenta, closest to the named color Prunella. It belongs to the purple family of colors.
What is the RGB value of #7E4A80?
The RGB value is 126, 74, 128: 126 red, 74 green and 128 blue on a 0 to 255 scale.
What is the complementary color of #7E4A80?
The complementary color is #4C804A, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7E4A80?
White text. Black text has a contrast ratio of 3.18:1 and white text 6.61:1. WCAG asks for at least 4.5:1 for normal text.