#7E6CA2 color

#7E6CA2 rgb(126, 108, 162)
Shades of purple

The hex color #7E6CA2 is a grayish violet.

In the RGB color model it is made of 49.4% red, 42.4% green and 63.5% blue (126, 108, 162).

Its hue angle is 260°, with 22% saturation and 53% lightness. For print, the CMYK equivalent is 22% cyan, 33% magenta, 0% yellow and 36% black.

The closest named color is Scampi (#6F63A0), a difference of 4.7 ΔE, a small difference.

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

#7E6CA2 color codes

HEX#7E6CA2
RGBrgb(126, 108, 162)
RGB percentrgb(49.4%, 42.4%, 63.5%)
HSLhsl(260, 22%, 53%)
HSV / HSBhsv(260, 33%, 64%)
CMYKcmyk(22%, 33%, 0%, 36%)
CIE LABlab(49.22, 18.69, -26.53)
CIE LCHlch(49.22, 32.45, 305.17)
CIE XYZxyz(20.487, 17.769, 36.526)
Decimal8285346
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #7E6CA2, 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 #7E6CA2RatioAAAAAAA large
Sample text4.55:1PassFailPass
Sample text4.61:1PassFailPass
#7E6CA2 as text onRatioAAAAAAA large
Sample text4.61:1PassFailPass
Sample text4.55: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 #7E6CA2 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #7e6ca2; }
.text { color: #7e6ca2; }
.border { border: 2px solid #7e6ca2; }
.transparent { background-color: rgb(126 108 162 / 50%); }
.gradient { background: linear-gradient(to right, #7e6ca2, #996ca2); }
Background
Text color
Border

Similar colors

Closest common color name: Lavender Purple.

Questions

What color is #7E6CA2?
#7E6CA2 is a grayish violet, closest to the named color Scampi. It belongs to the purple family of colors.
What is the RGB value of #7E6CA2?
The RGB value is 126, 108, 162: 126 red, 108 green and 162 blue on a 0 to 255 scale.
What is the complementary color of #7E6CA2?
The complementary color is #90A26C, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7E6CA2?
White text. Black text has a contrast ratio of 4.55:1 and white text 4.61:1. WCAG asks for at least 4.5:1 for normal text.