#7A45A6 color
The hex color #7A45A6 is a desaturated violet.
In the RGB color model it is made of 47.8% red, 27.1% green and 65.1% blue (122, 69, 166).
Its hue angle is 273°, with 41% saturation and 46% lightness. For print, the CMYK equivalent is 27% cyan, 58% magenta, 0% yellow and 35% black.
The closest named color is Purple Pleasures (#81459E), a difference of 2.6 ΔE, a small difference.
White text is the more readable choice on this background (contrast 6.5:1).
#7A45A6 color codes
| HEX | #7A45A6 | |
|---|---|---|
| RGB | rgb(122, 69, 166) | |
| RGB percent | rgb(47.8%, 27.1%, 65.1%) | |
| HSL | hsl(273, 41%, 46%) | |
| HSV / HSB | hsv(273, 58%, 65%) | |
| CMYK | cmyk(27%, 58%, 0%, 35%) | |
| CIE LAB | lab(39.83, 41.28, -43.72) | |
| CIE LCH | lch(39.83, 60.12, 313.35) | |
| CIE XYZ | xyz(17.036, 11.147, 37.323) | |
| Decimal | 8013222 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #7A45A6, 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 #7A45A6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.23:1 | Fail | Fail | Pass |
| Sample text | 6.5:1 | Pass | Fail | Pass |
| #7A45A6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 6.5:1 | Pass | Fail | Pass |
| Sample text | 3.23: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 #7A45A6 looks to people with the most common types of color vision deficiency.
#205ca9Protanopia
no red cones#355ea4Deuteranopia
no green cones#73576fTritanopia
no blue cones#5e5e5eAchromatopsia
no color vision
CSS examples
.background { background-color: #7a45a6; }
.text { color: #7a45a6; }
.border { border: 2px solid #7a45a6; }
.transparent { background-color: rgb(122 69 166 / 50%); }
.gradient { background: linear-gradient(to right, #7a45a6, #a645a1); }
Similar colors
#81459ePurple Pleasures#6b3fa0Poppy Pompadour#7851a9Royal Purple#7851a9Royal Lavender#7737aaShredder Lavender#7733aaPurple Pristine#8833aaPleasant Purple#733c8ePerkin Mauve
Questions
- What color is #7A45A6?
- #7A45A6 is a desaturated violet, closest to the named color Purple Pleasures. It belongs to the purple family of colors.
- What is the RGB value of #7A45A6?
- The RGB value is 122, 69, 166: 122 red, 69 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #7A45A6?
- The complementary color is #71A645, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #7A45A6?
- White text. Black text has a contrast ratio of 3.23:1 and white text 6.5:1. WCAG asks for at least 4.5:1 for normal text.