#7B68EE
mediumslateblue
#7B68EE is the CSS named color "mediumslateblue", an exact match. In RGB it breaks down to red 123, green 104, and blue 238 out of 255 each. In HSL terms that's a hue of 249°, 80% saturation, and 67% 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 | #7b68ee |
| RGB | rgb(123, 104, 238) |
| HSL | hsl(249° 80% 67%) |
| HSB | hsb(249° 56% 93%) |
| OKLCH | oklch(60% 0.194 285°) |
| OKLAB | oklab(60% 0.052 -0.187) |
| LCH | lch(51% 74.6 297°) |
| CMYK | cmyk(48% 56% 0% 7%) |
Shades (darker)
#7b68ee · #6e59dd · #6149cd · #5539bc · #4928ac
Tints (lighter)
#7b68ee · #8675fc · #9281ff · #9d8eff · #a99bff
Shades mix #7B68EE 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.15:1 — AA (large text only)
On black: 5.06:1 — AA
Frequently asked
- What is #7B68EE in RGB?
- #7B68EE is rgb(123, 104, 238) — red 123, green 104, blue 238 out of 255 each.
- Does #7B68EE pass WCAG contrast on a white background?
- It has a contrast ratio of 4.15:1 against white, which passes WCAG AA (large text only) for normal text.
- What's a good background color to pair with #7B68EE?
- Black text or a black background gives better contrast (5.06:1) than white (4.15:1).