#7B68EE

MediumSlateBlue — Color Codes & Palette

#7B68EE  ·  rgb(123, 104, 238)  ·  hsl(249, 80%, 67%)

Color Codes

Format Value
HEX #7B68EE
RGB rgb(123, 104, 238)
HSL hsl(249, 80%, 67%)

Shades of MediumSlateBlue

#6047EB#4427E7#3417D3#2C14B3#241093#1C0D73#140953#0C0632

Tints of MediumSlateBlue

#8875F0#9483F1#A091F3#AB9FF4#B7ACF6#C3BAF7#CFC8F9#DBD6FA

Color Pairings & Harmony

Complementary
#DAEE68
Analogous +30°
#BF68EE
Analogous −30°
#6897EE
Triadic +120°
#EE7C68
Triadic −120°
#68EE7C

Contrast & Accessibility (WCAG 2.1)

vs. White (#FFFFFF)
4.15:1 — AA pass for large text only
vs. Black (#000000)
5.06:1 — AA pass for normal text

CSS Snippet

.element {
  color: #7B68EE;
}

.element-bg {
  background-color: #7B68EE;
  color: #000000;
}

.element-border {
  border: 2px solid #7B68EE;
}

About MediumSlateBlue

MediumSlateBlue is a light color with vivid, highly saturated, defined by the hex code #7B68EE. Its exact color model values are rgb(123, 104, 238) in RGB and hsl(249, 80%, 67%) in HSL (hue 249°, saturation 80%, lightness 67%). On a white background the contrast ratio is 4.15:1 — AA pass for large text only, and on black it is 5.06:1 — AA pass for normal text. Use MediumSlateBlue for UI elements, backgrounds, text, borders, or decorative accents. The shades section below shows progressively darker variations, while the tints strip shows progressively lighter versions — both useful for building a tonal palette. The harmony swatches provide complementary, analogous, and triadic pairings based on the HSL hue wheel.

Want to explore this color interactively, generate palettes, or convert between color formats? The DevArbor Color Picker has you covered.

Open the Color Picker →

Frequently Asked Questions

What is the RGB value of MediumSlateBlue?
The RGB value of MediumSlateBlue (#7B68EE) is rgb(123, 104, 238). Red = rgb(123, 104, 238), representing the amounts of red, green, and blue light on a 0–255 scale.
Is MediumSlateBlue accessible on a white background?
The contrast ratio of MediumSlateBlue on white (#FFFFFF) is 4.15:1 — AA pass for large text only. On black (#000000) the contrast ratio is 5.06:1 — AA pass for normal text. WCAG 2.1 requires 4.5:1 for AA (normal text) and 7:1 for AAA.
What colors pair well with MediumSlateBlue?
Based on color theory, MediumSlateBlue (hsl(249, 80%, 67%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.