mediumslateblue mediumslateblue #7b68ee

mediumslateblue is #7b68ee in hexadecimal, rgb(123, 104, 238) in decimal and hsl(249, 80, 67) in HSL. This page lists its harmonies, lightness steps and contrast against black and white — all copyable.

HEX · RGB · HSL

#7b68ee
HEX#7b68ee
RGBrgb(123, 104, 238)
HSLhsl(249, 80%, 67%)

Harmonies

Complementary

#daee68

Analogous

#6897ee#bf68ee

Triadic

#ee7c68#68ee7c

Split complementary

#eebf68#97ee68

Tints & shades

#543ae9#6851ec#7c68ee#907ef1#a495f3

Accessibility

vs #ffffff4.15:1
vs #0000005.06:1
Suggested text color#000000 · 5.06:1 · WCAG AA

Similar named colors

mediumpurple#9370dbslateblue#6a5acdcornflowerblue#6495edroyalblue#4169e1blueviolet#8a2be2darkorchid#9932cc

FAQ

What is the HEX code for mediumslateblue?

mediumslateblue is #7b68ee in hex, rgb(123, 104, 238) in decimal and hsl(249, 80%, 67%) in HSL. In CSS you can write either color: mediumslateblue; or color: #7b68ee; — they are equivalent.

What colors go with mediumslateblue?

The complementary #daee68 gives the strongest contrast, the analogous pair #6897ee / #bf68ee is the safest, and the triad #ee7c68 / #68ee7c adds more tension. All three are derived from the 249° hue of #7b68ee.

Does #7b68ee read better on white or black?

Its contrast is 4.15:1 against white and 5.06:1 against black. Use #000000 text on it — that gives 5.06:1, which meets WCAG AA.

Is a named color different from a hex color?

No. CSS named colors are just syntactic sugar for standard six-digit hex values; browsers resolve them to identical results in every modern engine.

← All named colors