#7864A5 color
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 | |
|---|---|---|
| RGB | rgb(120, 100, 165) | |
| RGB percent | rgb(47.1%, 39.2%, 64.7%) | |
| HSL | hsl(258, 27%, 52%) | |
| HSV / HSB | hsv(258, 39%, 65%) | |
| CMYK | cmyk(27%, 39%, 0%, 35%) | |
| CIE LAB | lab(46.74, 22.39, -32.19) | |
| CIE LCH | lch(46.74, 39.21, 304.82) | |
| CIE XYZ | xyz(19.093, 15.824, 37.638) | |
| Decimal | 7890085 | |
| Short hex | None (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 #7864A5 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.16:1 | Fail | Fail | Pass |
| Sample text | 5.04:1 | Pass | Fail | Pass |
| #7864A5 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.04:1 | Pass | Fail | Pass |
| Sample text | 4.16:1 | Fail | Fail | Pass |
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.
#536fa7Protanopia
no red cones#566ea3Deuteranopia
no green cones#6f6f7dTritanopia
no blue cones#6f6f6fAchromatopsia
no color vision
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); }
Similar colors
#6f63a0Scampi#6f58a6Prophet Violet#715bb1Simply Purple#8469bcLavish Spending#6f5698Passion Flower#7a6dc0Venus Violet#7851a9Royal Purple#7851a9Royal Lavender
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.