#9D6AAF
Muted Purple
#9D6AAF is the CSS named color "mediumpurple", an exact match. In RGB it breaks down to red 157, green 106, and blue 175 out of 255 each. In HSL terms that's a hue of 284°, 30% saturation, and 55% lightness: a mid-tone — usable as an accent for buttons, links, and icons against either a light or dark background.
Every format
| HEX | #9d6aaf |
| RGB | rgb(157, 106, 175) |
| HSL | hsl(284° 30% 55%) |
| HSB | hsb(284° 39% 69%) |
| OKLCH | oklch(60% 0.116 317°) |
| OKLAB | oklab(60% 0.085 -0.079) |
| LCH | lch(52% 41.7 316°) |
| CMYK | cmyk(10% 39% 0% 31%) |
Shades (darker)
#9d6aaf · #8e5ca0 · #7f4e91 · #714082 · #633373
Tints (lighter)
#9d6aaf · #a976bc · #b682c9 · #c38ed6 · #d09ae3
Shades mix #9D6AAF toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.
On white: 4.11:1 — AA (large text only)
On black: 5.11:1 — AA
Frequently asked
- What is #9D6AAF in RGB?
- #9D6AAF is rgb(157, 106, 175) — red 157, green 106, blue 175 out of 255 each.
- Does #9D6AAF pass WCAG contrast on a white background?
- It has a contrast ratio of 4.11:1 against white, which passes WCAG AA (large text only) for normal text.
- What's a good background color to pair with #9D6AAF?
- Black text or a black background gives better contrast (5.11:1) than white (4.11:1).