#8151A3 color
The hex color #8151A3 is a desaturated violet.
In the RGB color model it is made of 50.6% red, 31.8% green and 63.9% blue (129, 81, 163).
Its hue angle is 275°, with 34% saturation and 48% lightness. For print, the CMYK equivalent is 21% cyan, 50% magenta, 0% yellow and 36% black.
The closest named color is Royal Purple (#7851A9), a difference of 2.8 ΔE, a small difference.
White text is the more readable choice on this background (contrast 5.77:1).
#8151A3 color codes
| HEX | #8151A3 | |
|---|---|---|
| RGB | rgb(129, 81, 163) | |
| RGB percent | rgb(50.6%, 31.8%, 63.9%) | |
| HSL | hsl(275, 34%, 48%) | |
| HSV / HSB | hsv(275, 50%, 64%) | |
| CMYK | cmyk(21%, 50%, 0%, 36%) | |
| CIE LAB | lab(43.06, 35.75, -36.74) | |
| CIE LCH | lch(43.06, 51.27, 314.22) | |
| CIE XYZ | xyz(18.605, 13.197, 36.21) | |
| Decimal | 8475043 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #8151A3, 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 #8151A3 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.64:1 | Fail | Fail | Pass |
| Sample text | 5.77:1 | Pass | Fail | Pass |
| #8151A3 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.77:1 | Pass | Fail | Pass |
| Sample text | 3.64: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 #8151A3 looks to people with the most common types of color vision deficiency.
#3c64a6Protanopia
no red cones#4a66a1Deuteranopia
no green cones#7d5f72Tritanopia
no blue cones#666666Achromatopsia
no color vision
CSS examples
.background { background-color: #8151a3; }
.text { color: #8151a3; }
.border { border: 2px solid #8151a3; }
.transparent { background-color: rgb(129 81 163 / 50%); }
.gradient { background: linear-gradient(to right, #8151a3, #a3519c); }
Similar colors
#7851a9Royal Purple#7851a9Royal Lavender#81459ePurple Pleasures#8f509dVicious Violet#6f5698Passion Flower#6f58a6Prophet Violet#714a8bGrapes of Italy#75528bNinja Princess
Questions
- What color is #8151A3?
- #8151A3 is a desaturated violet, closest to the named color Royal Purple. It belongs to the purple family of colors.
- What is the RGB value of #8151A3?
- The RGB value is 129, 81, 163: 129 red, 81 green and 163 blue on a 0 to 255 scale.
- What is the complementary color of #8151A3?
- The complementary color is #73A351, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #8151A3?
- White text. Black text has a contrast ratio of 3.64:1 and white text 5.77:1. WCAG asks for at least 4.5:1 for normal text.