#7B64A1 color
The hex color #7B64A1 is a grayish violet.
In the RGB color model it is made of 48.2% red, 39.2% green and 63.1% blue (123, 100, 161).
Its hue angle is 263°, with 24% saturation and 51% lightness. For print, the CMYK equivalent is 24% cyan, 38% magenta, 0% yellow and 37% 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 5.02:1).
#7B64A1 color codes
| HEX | #7B64A1 | |
|---|---|---|
| RGB | rgb(123, 100, 161) | |
| RGB percent | rgb(48.2%, 39.2%, 63.1%) | |
| HSL | hsl(263, 24%, 51%) | |
| HSV / HSB | hsv(263, 38%, 63%) | |
| CMYK | cmyk(24%, 38%, 0%, 37%) | |
| CIE LAB | lab(46.84, 22.29, -29.66) | |
| CIE LCH | lch(46.84, 37.1, 306.93) | |
| CIE XYZ | xyz(19.157, 15.898, 35.771) | |
| Decimal | 8086689 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7B64A1, 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 #7B64A1 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.18:1 | Fail | Fail | Pass |
| Sample text | 5.02:1 | Pass | Fail | Pass |
| #7B64A1 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.02:1 | Pass | Fail | Pass |
| Sample text | 4.18: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 #7B64A1 looks to people with the most common types of color vision deficiency.
#556fa3Protanopia
no red cones#5a6f9fDeuteranopia
no green cones#746e7bTritanopia
no blue cones#6f6f6fAchromatopsia
no color vision
CSS examples
.background { background-color: #7b64a1; }
.text { color: #7b64a1; }
.border { border: 2px solid #7b64a1; }
.transparent { background-color: rgb(123 100 161 / 50%); }
.gradient { background: linear-gradient(to right, #7b64a1, #9964a1); }
Similar colors
#6f63a0Scampi#6f5698Passion Flower#6f58a6Prophet Violet#8469bcLavish Spending#715bb1Simply Purple#946dadCrown Jewels#75528bNinja Princess#7a6dc0Venus Violet
Closest common color name: Royal Purple.
Questions
- What color is #7B64A1?
- #7B64A1 is a grayish violet, closest to the named color Scampi. It belongs to the purple family of colors.
- What is the RGB value of #7B64A1?
- The RGB value is 123, 100, 161: 123 red, 100 green and 161 blue on a 0 to 255 scale.
- What is the complementary color of #7B64A1?
- The complementary color is #8AA164, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7B64A1?
- White text. Black text has a contrast ratio of 4.18:1 and white text 5.02:1. WCAG asks for at least 4.5:1 for normal text.