#9172BA color
The hex color #9172BA is a desaturated violet.
In the RGB color model it is made of 56.9% red, 44.7% green and 72.9% blue (145, 114, 186).
Its hue angle is 266°, with 34% saturation and 59% lightness. For print, the CMYK equivalent is 22% cyan, 39% magenta, 0% yellow and 27% black.
The closest named color is Viola (#966EBD), a difference of 1.9 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 5.32:1).
#9172BA color codes
| HEX | #9172BA | |
|---|---|---|
| RGB | rgb(145, 114, 186) | |
| RGB percent | rgb(56.9%, 44.7%, 72.9%) | |
| HSL | hsl(266, 34%, 59%) | |
| HSV / HSB | hsv(266, 39%, 73%) | |
| CMYK | cmyk(22%, 39%, 0%, 27%) | |
| CIE LAB | lab(53.6, 26.87, -33.49) | |
| CIE LCH | lch(53.6, 42.94, 308.74) | |
| CIE XYZ | xyz(26.555, 21.6, 49.215) | |
| Decimal | 9532090 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9172BA, 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 #9172BA | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 5.32:1 | Pass | Fail | Pass |
| Sample text | 3.95:1 | Fail | Fail | Pass |
| #9172BA as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 3.95:1 | Fail | Fail | Pass |
| Sample text | 5.32:1 | Pass | 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 #9172BA looks to people with the most common types of color vision deficiency.
#617fbdProtanopia
no red cones#6780b8Deuteranopia
no green cones#8a7e8dTritanopia
no blue cones#808080Achromatopsia
no color vision
CSS examples
.background { background-color: #9172ba; }
.text { color: #9172ba; }
.border { border: 2px solid #9172ba; }
.transparent { background-color: rgb(145 114 186 / 50%); }
.gradient { background: linear-gradient(to right, #9172ba, #b572ba); }
Similar colors
#966ebdViola#946dadCrown Jewels#967bb6Lavender Purple#8469bcLavish Spending#9966ccAmethyst#a264baPrickly Purple#7a6dc0Venus Violet#9370dbMedium Purple
Questions
- What color is #9172BA?
- #9172BA is a desaturated violet, closest to the named color Viola. It belongs to the purple family of colors.
- What is the RGB value of #9172BA?
- The RGB value is 145, 114, 186: 145 red, 114 green and 186 blue on a 0 to 255 scale.
- What is the complementary color of #9172BA?
- The complementary color is #9BBA72, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9172BA?
- Black text. Black text has a contrast ratio of 5.32:1 and white text 3.95:1. WCAG asks for at least 4.5:1 for normal text.