#8166A0 color
The hex color #8166A0 is a grayish violet.
In the RGB color model it is made of 50.6% red, 40% green and 62.7% blue (129, 102, 160).
Its hue angle is 268°, with 23% saturation and 51% lightness. For print, the CMYK equivalent is 19% cyan, 36% magenta, 0% yellow and 37% black.
The closest named color is Scampi (#6F63A0), a difference of 4.9 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.84:1).
#8166A0 color codes
| HEX | #8166A0 | |
|---|---|---|
| RGB | rgb(129, 102, 160) | |
| RGB percent | rgb(50.6%, 40%, 62.7%) | |
| HSL | hsl(268, 23%, 51%) | |
| HSV / HSB | hsv(268, 36%, 63%) | |
| CMYK | cmyk(19%, 36%, 0%, 37%) | |
| CIE LAB | lab(47.89, 22.74, -27.39) | |
| CIE LCH | lch(47.89, 35.6, 309.71) | |
| CIE XYZ | xyz(20.149, 16.708, 35.414) | |
| Decimal | 8480416 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8166A0, 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 #8166A0 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.34:1 | Fail | Fail | Pass |
| Sample text | 4.84:1 | Pass | Fail | Pass |
| #8166A0 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.84:1 | Pass | Fail | Pass |
| Sample text | 4.34: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 #8166A0 looks to people with the most common types of color vision deficiency.
#5a71a2Protanopia
no red cones#5f729eDeuteranopia
no green cones#7c6f7bTritanopia
no blue cones#727272Achromatopsia
no color vision
CSS examples
.background { background-color: #8166a0; }
.text { color: #8166a0; }
.border { border: 2px solid #8166a0; }
.transparent { background-color: rgb(129 102 160 / 50%); }
.gradient { background: linear-gradient(to right, #8166a0, #9e66a0); }
Similar colors
#6f63a0Scampi#946dadCrown Jewels#8469bcLavish Spending#6f5698Passion Flower#805b87Muted Purple#7b6c8eNymph’s Delight#966ebdViola#746c8fBureaucracy
Closest common color name: Royal Purple.
Questions
- What color is #8166A0?
- #8166A0 is a grayish violet, closest to the named color Scampi. It belongs to the purple family of colors.
- What is the RGB value of #8166A0?
- The RGB value is 129, 102, 160: 129 red, 102 green and 160 blue on a 0 to 255 scale.
- What is the complementary color of #8166A0?
- The complementary color is #85A066, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8166A0?
- White text. Black text has a contrast ratio of 4.34:1 and white text 4.84:1. WCAG asks for at least 4.5:1 for normal text.