#9370DB
mediumpurple
#9370DB is the CSS named color "mediumpurple", an exact match. In RGB it breaks down to red 147, green 112, and blue 219 out of 255 each. In HSL terms that's a hue of 260°, 60% saturation, and 65% lightness: on the lighter side — readable as large or bold text on a dark background, but too pale for small body text on white.
Every format
| HEX | #9370db |
| RGB | rgb(147, 112, 219) |
| HSL | hsl(260° 60% 65%) |
| HSB | hsb(260° 49% 86%) |
| OKLCH | oklch(63% 0.158 297°) |
| OKLAB | oklab(63% 0.071 -0.141) |
| LCH | lch(54% 59.7 302°) |
| CMYK | cmyk(33% 49% 0% 14%) |
Shades (darker)
#9370db · #8461ca · #7651ba · #6842a9 · #5a3399
Tints (lighter)
#9370db · #9e7ce8 · #aa87f4 · #b593ff · #c19fff
Shades mix #9370DB 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: 3.76:1 — AA (large text only)
On black: 5.58:1 — AA
Frequently asked
- What is #9370DB in RGB?
- #9370DB is rgb(147, 112, 219) — red 147, green 112, blue 219 out of 255 each.
- Does #9370DB pass WCAG contrast on a white background?
- It has a contrast ratio of 3.76:1 against white, which passes WCAG AA (large text only) for normal text.
- What's a good background color to pair with #9370DB?
- Black text or a black background gives better contrast (5.58:1) than white (3.76:1).