AfoliOpen Afoli →

Medium Slate Blue color #7B68EE

Medium Slate Blue is one of the CSS named colors (keyword mediumslateblue) with the hex code #7B68EE — RGB 123, 104, 238, HSL 249°, 80%, 67%.

Open in Afoli Colour tools →

#7B68EEMedium Slate Blue

Color codes

HEX
#7B68EE
RGB
rgb(123, 104, 238)
HSL
hsl(249, 80%, 67%)
CMYK
48%, 56%, 0%, 7%
OKLCH
oklch(60.4% 0.194 285.5)
CSS keyword
mediumslateblue

Tints and shades

#F4F4FF#D6D5FF#B9B6FF#9E96FF#8674FB#6F5ADF#593FC3#4522A7#320087#1E0058#0C002E

Color harmonies

Complementary
#7B68EE#8D8500
Analogous
#147FF1#7B68EE#AC54CE
Triadic
#7B68EE#D05700#00996F
Split complementary
#7B68EE#AD7500#4B9700
Tetradic
#7B68EE#DD3E5A#8D8500#009495

Contrast with text

PairWCAG 2.x ratioAPCA LcResult
Medium Slate Blue text on white4.15 : 168AA for large text only
Medium Slate Blue text on black5.06 : 1-33AA — body text
White text on Medium Slate Blue4.15 : 1-74AA for large text only
Black text on Medium Slate Blue5.06 : 136AA — body text

WCAG 2.x needs 4.5 : 1 for body text and 3 : 1 for large text; APCA asks for |Lc| 75 for body text and 60 for large text.

Palettes with this color

Frequently asked questions

What is the hex code of Medium Slate Blue?

Medium Slate Blue has the hex code #7B68EE, which is RGB 123, 104, 238 and HSL 249°, 80%, 67%.

Which text color reads best on Medium Slate Blue?

Black text: contrast 5.06 : 1 (white text: 4.15 : 1).

Which colors go well with Medium Slate Blue?

Its complementary color is #8D8500; analogous colors are #147FF1 and #AC54CE; a triadic set adds #D05700 and #00996F.

Similar colors

Sources and licences

Updated November 21, 2026