#9F5C97 color
The hex color #9F5C97 is a desaturated magenta.
In the RGB color model it is made of 62.4% red, 36.1% green and 59.2% blue (159, 92, 151).
Its hue angle is 307°, with 27% saturation and 49% lightness. For print, the CMYK equivalent is 0% cyan, 42% magenta, 5% yellow and 38% black.
The closest named color is Bermuda Onion (#9D5A8F), a difference of 1.8 ΔE, which is barely visible.
White text is the more readable choice on this background (contrast 4.72:1).
#9F5C97 color codes
| HEX | #9F5C97 | |
|---|---|---|
| RGB | rgb(159, 92, 151) | |
| RGB percent | rgb(62.4%, 36.1%, 59.2%) | |
| HSL | hsl(307, 27%, 49%) | |
| HSV / HSB | hsv(307, 42%, 62%) | |
| CMYK | cmyk(0%, 42%, 5%, 38%) | |
| CIE LAB | lab(48.59, 36.36, -20.72) | |
| CIE LCH | lch(48.59, 41.85, 330.33) | |
| CIE XYZ | xyz(23.711, 17.261, 31.355) | |
| Decimal | 10443927 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #9F5C97, 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 #9F5C97 | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.45:1 | Fail | Fail | Pass |
| Sample text | 4.72:1 | Pass | Fail | Pass |
| #9F5C97 as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 4.72:1 | Pass | Fail | Pass |
| Sample text | 4.45: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 #9F5C97 looks to people with the most common types of color vision deficiency.
#5a6e99Protanopia
no red cones#6c7795Deuteranopia
no green cones#a46072Tritanopia
no blue cones#737373Achromatopsia
no color vision
CSS examples
.background { background-color: #9f5c97; }
.text { color: #9f5c97; }
.border { border: 2px solid #9f5c97; }
.transparent { background-color: rgb(159 92 151 / 50%); }
.gradient { background: linear-gradient(to right, #9f5c97, #9f5c76); }
Similar colors
#9d5a8fBermuda Onion#a15589Purple Zergling#b4559bMagenta Memoir#9d5783Feminism#905284Grape Candy#9b4b80Plum Passion#8f509dVicious Violet#9b4682Grape Riot
Closest common color name: Plum.
Questions
- What color is #9F5C97?
- #9F5C97 is a desaturated magenta, closest to the named color Bermuda Onion. It belongs to the purple family of colors.
- What is the RGB value of #9F5C97?
- The RGB value is 159, 92, 151: 159 red, 92 green and 151 blue on a 0 to 255 scale.
- What is the complementary color of #9F5C97?
- The complementary color is #5C9F64, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #9F5C97?
- White text. Black text has a contrast ratio of 4.45:1 and white text 4.72:1. WCAG asks for at least 4.5:1 for normal text.