#7C64A6 color

#7C64A6 rgb(124, 100, 166)
Shades of purple

The hex color #7C64A6 is a desaturated violet.

In the RGB color model it is made of 48.6% red, 39.2% green and 65.1% blue (124, 100, 166).

Its hue angle is 262°, with 27% saturation and 52% lightness. For print, the CMYK equivalent is 25% cyan, 40% magenta, 0% yellow and 35% black.

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

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

#7C64A6 color codes

HEX#7C64A6
RGBrgb(124, 100, 166)
RGB percentrgb(48.6%, 39.2%, 65.1%)
HSLhsl(262, 27%, 52%)
HSV / HSBhsv(262, 40%, 65%)
CMYKcmyk(25%, 40%, 0%, 35%)
CIE LABlab(47.17, 23.85, -32.07)
CIE LCHlch(47.17, 39.97, 306.64)
CIE XYZxyz(19.751, 16.153, 38.146)
Decimal8152230
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #7c64a6; }
.text { color: #7c64a6; }
.border { border: 2px solid #7c64a6; }
.transparent { background-color: rgb(124 100 166 / 50%); }
.gradient { background: linear-gradient(to right, #7c64a6, #9d64a6); }
Background
Text color
Border

Similar colors

Questions

What color is #7C64A6?
#7C64A6 is a desaturated violet, closest to the named color Scampi. It belongs to the purple family of colors.
What is the RGB value of #7C64A6?
The RGB value is 124, 100, 166: 124 red, 100 green and 166 blue on a 0 to 255 scale.
What is the complementary color of #7C64A6?
The complementary color is #8EA664, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7C64A6?
White text. Black text has a contrast ratio of 4.23:1 and white text 4.96:1. WCAG asks for at least 4.5:1 for normal text.