#9B5BA6 color
The hex color #9B5BA6 is a desaturated magenta.
In the RGB color model it is made of 60.8% red, 35.7% green and 65.1% blue (155, 91, 166).
Its hue angle is 291°, with 30% saturation and 50% lightness. For print, the CMYK equivalent is 7% cyan, 45% magenta, 0% yellow and 35% black.
The closest named color is Vicious Violet (#8F509D), a difference of 4.2 ΔE, a small difference.
White text is the more readable choice on this background (contrast 4.73:1).
#9B5BA6 color codes
| HEX | #9B5BA6 | |
|---|---|---|
| RGB | rgb(155, 91, 166) | |
| RGB percent | rgb(60.8%, 35.7%, 65.1%) | |
| HSL | hsl(291, 30%, 50%) | |
| HSV / HSB | hsv(291, 45%, 65%) | |
| CMYK | cmyk(7%, 45%, 0%, 35%) | |
| CIE LAB | lab(48.52, 38.56, -29.72) | |
| CIE LCH | lch(48.52, 48.68, 322.37) | |
| CIE XYZ | xyz(24.141, 17.205, 38.118) | |
| Decimal | 10181542 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9B5BA6, 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 #9B5BA6 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.44:1 | Fail | Fail | Pass |
| Sample text | 4.73:1 | Pass | Fail | Pass |
| #9B5BA6 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.73:1 | Pass | Fail | Pass |
| Sample text | 4.44: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 #9B5BA6 looks to people with the most common types of color vision deficiency.
#516fa9Protanopia
no red cones#6376a4Deuteranopia
no green cones#9d6479Tritanopia
no blue cones#737373Achromatopsia
no color vision
CSS examples
.background { background-color: #9b5ba6; }
.text { color: #9b5ba6; }
.border { border: 2px solid #9b5ba6; }
.transparent { background-color: rgb(155 91 166 / 50%); }
.gradient { background: linear-gradient(to right, #9b5ba6, #a65b8b); }
Similar colors
#8f509dVicious Violet#a264baPrickly Purple#9f4cb7Fuchsia Pheromone#9d5a8fBermuda Onion#946dadCrown Jewels#b4559bMagenta Memoir#966ebdViola#a15589Purple Zergling
Closest common color name: Amethyst.
Questions
- What color is #9B5BA6?
- #9B5BA6 is a desaturated magenta, closest to the named color Vicious Violet. It belongs to the purple family of colors.
- What is the RGB value of #9B5BA6?
- The RGB value is 155, 91, 166: 155 red, 91 green and 166 blue on a 0 to 255 scale.
- What is the complementary color of #9B5BA6?
- The complementary color is #66A65B, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9B5BA6?
- White text. Black text has a contrast ratio of 4.44:1 and white text 4.73:1. WCAG asks for at least 4.5:1 for normal text.