PURPLE

Medium Slate Blue

No. 091

#7B68EErgb(123, 104, 238)hsl(249, 80%, 67%)

Medium Slate Blue is #7B68EE, rgb(123, 104, 238).

In CSS: mediumslateblue

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%);
Shades
Tints

Colors that go with Medium Slate Blue

  • Complementary

  • Analogous

  • Triadic

Contrast

1 of 2 backgrounds pass AA

  1. On whiteFail4.15 : 1
  2. On ink blackPass4.61 : 1

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, or open the palette generator with Medium Slate Blue locked and let it fill in the rest.

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)

Frequently asked questions

What is the RGB value of Medium Slate Blue?

Medium Slate Blue (#7B68EE) is rgb(123, 104, 238): 123 red, 104 green and 238 blue on the 0 to 255 scale. Blue leads at 238, red follows at 123 and green trails at 104, which puts the hue at 249 degrees. In HSL the same color is hsl(249, 80%, 67%).

What colour is #7B68EE?

#7B68EE is Medium Slate Blue, a light purple colour with a hue of 249 degrees, 80% saturation and 67% lightness. For print the CMYK breakdown is 48% cyan, 56% magenta, 0% yellow and 7% black. Its nearest neighbour in this library is Slate Blue, 11.4 away in CIELAB, a difference you can see.

Is Medium Slate Blue a CSS color name?

Yes. The keyword mediumslateblue is one of the 148 named colors in CSS Color Module Level 4, so color: mediumslateblue; renders exactly #7B68EE.

What colors go with Medium Slate Blue?

Opposite Medium Slate Blue on the color wheel sits the complementary #DBEE68, the boldest accent by hue. For a calmer scheme use the analogous neighbours #6898EE (close to Cornflower Blue) and #BE68EE; for a balanced three-color scheme use the triadic pair #EE7B68 (close to Salmon) and #68EE7B. Of these, #DBEE68 has the most contrast against Medium Slate Blue, at 3.25:1, enough for icons and large text.

What text color is readable on Medium Slate Blue?

Ink black (#0F0F12) is the most readable on Medium Slate Blue, at 4.61:1, which clears WCAG AA (4.5:1) but not AAA. 1 of the 5 common text colors tested passes AA for normal text.

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.