#7864A5 color

#7864A5 rgb(120, 100, 165)
Shades of purple

The hex color #7864A5 is a desaturated violet.

In the RGB color model it is made of 47.1% red, 39.2% green and 64.7% blue (120, 100, 165).

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

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

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

#7864A5 color codes

HEX#7864A5
RGBrgb(120, 100, 165)
RGB percentrgb(47.1%, 39.2%, 64.7%)
HSLhsl(258, 27%, 52%)
HSV / HSBhsv(258, 39%, 65%)
CMYKcmyk(27%, 39%, 0%, 35%)
CIE LABlab(46.74, 22.39, -32.19)
CIE LCHlch(46.74, 39.21, 304.82)
CIE XYZxyz(19.093, 15.824, 37.638)
Decimal7890085
Short hexNone (no 3-digit form)

Color harmonies

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

CSS examples

.background { background-color: #7864a5; }
.text { color: #7864a5; }
.border { border: 2px solid #7864a5; }
.transparent { background-color: rgb(120 100 165 / 50%); }
.gradient { background: linear-gradient(to right, #7864a5, #9964a5); }
Background
Text color
Border

Similar colors

Questions

What color is #7864A5?
#7864A5 is a desaturated violet, closest to the named color Scampi. It belongs to the purple family of colors.
What is the RGB value of #7864A5?
The RGB value is 120, 100, 165: 120 red, 100 green and 165 blue on a 0 to 255 scale.
What is the complementary color of #7864A5?
The complementary color is #91A564, found by rotating the hue 180° on the color wheel.
Is black or white text better on #7864A5?
White text. Black text has a contrast ratio of 4.16:1 and white text 5.04:1. WCAG asks for at least 4.5:1 for normal text.