Mediumslateblue — #7B68EE
One of the 148 named colours defined by CSS — this page is its complete working profile: every format, WCAG contrast, a 50–950 shade scale and computed harmonies, all copy-ready.
Mediumslateblue values in every format
| CSS name | mediumslateblue |
|---|---|
| HEX | #7B68EE |
| RGB | rgb(123, 104, 238) |
| RGB % | 48%, 41%, 93% |
| HSL | hsl(249, 80%, 67%) |
| HSV / HSB | 249°, 56%, 93% |
| CMYK (print) | 48%, 56%, 0%, 7% |
| Relative luminance | 0.203 |
| Contrast on black | 5.06 : 1 |
| Contrast on white | 4.15 : 1 |
| Best text colour on it | Black (5.06 : 1 — passes WCAG AA for normal text) |
Named colours are defined in the CSS Color Module (W3C). Values on this page were computed with the same colour maths as Loona's Colour Converter and checked 9 November 2026.
Shades of Mediumslateblue (50–950)
50 #F3F1FD100 #E3DFFB200 #BFB6F7300 #8F7FF1400 #573EE9500 #3218D3600 #2813AA700 #200F85800 #180B65900 #100845950 #0A0529
The scale keeps Mediumslateblue's hue (249°) and saturation (80%) and steps lightness — the same method as the Colour Shades Generator, so these steps drop straight into a design system.
Colour harmonies with Mediumslateblue
Complementary: #7B68EE#DBEE68
Analogous: #6898EE#7B68EE#BE68EE
Triadic: #7B68EE#EE7B68#68EE7B
Split-complementary: #7B68EE#EEBE68#98EE68
Square: #7B68EE#EE6898#DBEE68#68EEBE
Computed by rotating the hue wheel from 249°. Try them live in the Colour Harmony Generator.
Closest named colours
mediumpurple (#9370DB) · slateblue (#6A5ACD) · cornflowerblue (#6495ED)
Using Mediumslateblue well
Mediumslateblue sits in the blue family at 67% lightness — a light, vivid, cool colour. As a background it pairs best with black text (5.06:1 contrast). Its complement (#DBEE68) is the high-energy partner for calls-to-action and highlights; the analogous neighbours (#6898EE, #BE68EE) give calm, same-family gradients. For print, start from the CMYK values above and proof — screen Mediumslateblue is an sRGB colour and rich screens shades can shift on press.
Popular Design Tools
Frequently Asked Questions
What is the hex code for Mediumslateblue?
#7B68EE — the CSS named colour “mediumslateblue”. Its RGB is (123, 104, 238).
Is Mediumslateblue good for text or backgrounds?
As a background, black text reads best on it (5.06:1). As text itself on white it reaches 4.15:1 — not enough for body text at AA; use it for headings, large text or accents.
What colours go with Mediumslateblue?
Its complement #DBEE68 for contrast, analogous #6898EE and #BE68EE for calm combinations, and the 50–950 shade scale above for monochrome designs.
What is Mediumslateblue in CMYK for printing?
C48 M56 Y0 K7. CMYK conversions of screen colours are a starting point — always proof before a print run.