#7F5EAA color

#7F5EAA rgb(127, 94, 170)
Shades of purple

The hex color #7F5EAA is a desaturated violet.

In the RGB color model it is made of 49.8% red, 36.9% green and 66.7% blue (127, 94, 170).

Its hue angle is 266°, with 31% saturation and 52% lightness. For print, the CMYK equivalent is 25% cyan, 45% magenta, 0% yellow and 33% black.

The closest named color is Prophet Violet (#6F58A6), a difference of 3.9 ΔE, a small difference.

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

#7F5EAA color codes

HEX#7F5EAA
RGBrgb(127, 94, 170)
RGB percentrgb(49.8%, 36.9%, 66.7%)
HSLhsl(266, 31%, 52%)
HSV / HSBhsv(266, 45%, 67%)
CMYKcmyk(25%, 45%, 0%, 33%)
CIE LABlab(46.2, 29.32, -35.93)
CIE LCHlch(46.2, 46.37, 309.22)
CIE XYZxyz(20.009, 15.42, 39.945)
Decimal8347306
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #7f5eaa; }
.text { color: #7f5eaa; }
.border { border: 2px solid #7f5eaa; }
.transparent { background-color: rgb(127 94 170 / 50%); }
.gradient { background: linear-gradient(to right, #7f5eaa, #a55eaa); }
Background
Text color
Border

Similar colors

Questions

What color is #7F5EAA?
#7F5EAA is a desaturated violet, closest to the named color Prophet Violet. It belongs to the purple family of colors.
What is the RGB value of #7F5EAA?
The RGB value is 127, 94, 170: 127 red, 94 green and 170 blue on a 0 to 255 scale.
What is the complementary color of #7F5EAA?
The complementary color is #89AA5E, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7F5EAA?
White text. Black text has a contrast ratio of 4.08:1 and white text 5.14:1. WCAG asks for at least 4.5:1 for normal text.