PURPLE

Medium Slate Blue

#7B68EE
Conversions
HEX#7B68EE
RGBrgb(123, 104, 238)
HSLhsl(249, 80%, 67%)
HSVhsv(249, 56%, 93%)
CMYKcmyk(48%, 56%, 0%, 7%)
Copy CSS
color: #7b68ee; /* rgb */ color: rgb(123, 104, 238); /* hsl */ color: hsl(249, 80%, 67%);
Contrast
On whiteFail · 4.15 : 1
On ink blackPass · 4.61 : 1
Shades
Tints
Pairings

About Medium Slate Blue

Medium Slate Blue is the hex color #7B68EE, which translates to rgb(123, 104, 238) in RGB and hsl(249, 80%, 67%) in HSL. On the color wheel it sits at 249 degrees, with a saturation of 80 percent and a lightness of 67 percent. That combination gives Medium Slate Blue a saturated mid tone: strong enough for buttons and links, still calm enough for larger areas.

How Medium Slate Blue compares

Medium Slate Blue is exactly the CSS keyword mediumslateblue, so you can write the keyword instead of the hex and get an identical result. In the Tailwind CSS 4.3.1 palette the nearest token is violet-400 (#A684FF), at a distance of 14.0. Inside this library the closest neighbour is Slate Blue at 11.4. Sorted by lightness, Medium Slate Blue is number 23 of the 31 purple colors here.

Text on Medium Slate Blue

One of the five common text colors below clears WCAG AA for normal text on Medium Slate Blue, led by Ink black at 4.61:1. The ratios are computed with the WCAG relative luminance formula, the same one the contrast checker uses, which opens with Medium Slate Blue already loaded as the background.

Contrast of common text colors on Medium Slate Blue. AA normal text needs 4.5:1, AA large text and non-text elements need 3:1, AAA normal text needs 7:1.
Text colorRatioAA normalAA largeAAA normal
White #FFFFFF4.15:1FailPassFail
Ink black #0F0F124.61:1PassPassFail
Mid grey #6B72801.16:1FailFailFail
Dark grey #3741512.48:1FailFailFail
Light grey #E5E7EB3.35:1FailPassFail

Building a palette around Medium Slate Blue

The pairings above give you three classic starting points. The complementary color sits opposite on the wheel and works well as an accent that draws the eye. The analogous colors sit right beside Medium Slate Blue for calmer, harmonious combinations. The triadic pair spaces three hues evenly for a balanced, energetic palette. Open any swatch to explore it as its own color.

Full values for Medium Slate Blue

FormatValue
HEX#7B68EE
RGBrgb(123, 104, 238)
HSLhsl(249, 80%, 67%)
HSVhsv(249, 56%, 93%)
CMYKcmyk(48%, 56%, 0%, 7%)
OKLCHoklch(60.45% 0.1939 285.50)
CIELABlab(52.16 41.07 -65.40)

Use Medium Slate Blue in a tool

Nearby colors

Last updated by FusionStudios. Every value on this page is computed by the same functions the tools use. How this is calculated.