#9370DB

MediumPurple — Color Codes & Palette

#9370DB  ·  rgb(147, 112, 219)  ·  hsl(260, 60%, 65%)

Color Codes

Format Value
HEX #9370DB
RGB rgb(147, 112, 219)
HSL hsl(260, 60%, 65%)

Shades of MediumPurple

#7E54D4#6937CD#5A2DB4#4B2697#3D1F7A#2F175E#211041#120925

Tints of MediumPurple

#9D7CDE#A689E1#AF95E4#B9A1E8#C2ADEB#CBBAEE#D4C6F1#DDD2F4

Color Pairings & Harmony

Complementary
#B8DB70
Analogous +30°
#C970DB
Analogous −30°
#7082DB
Triadic +120°
#DB9470
Triadic −120°
#70DB94

Contrast & Accessibility (WCAG 2.1)

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

CSS Snippet

.element {
  color: #9370DB;
}

.element-bg {
  background-color: #9370DB;
  color: #000000;
}

.element-border {
  border: 2px solid #9370DB;
}

About MediumPurple

MediumPurple is a light color with high saturation, defined by the hex code #9370DB. Its exact color model values are rgb(147, 112, 219) in RGB and hsl(260, 60%, 65%) in HSL (hue 260°, saturation 60%, lightness 65%). On a white background the contrast ratio is 3.76:1 — AA pass for large text only, and on black it is 5.58:1 — AA pass for normal text. Use MediumPurple 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 MediumPurple?
The RGB value of MediumPurple (#9370DB) is rgb(147, 112, 219). Red = rgb(147, 112, 219), representing the amounts of red, green, and blue light on a 0–255 scale.
Is MediumPurple accessible on a white background?
The contrast ratio of MediumPurple on white (#FFFFFF) is 3.76:1 — AA pass for large text only. On black (#000000) the contrast ratio is 5.58: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 MediumPurple?
Based on color theory, MediumPurple (hsl(260, 60%, 65%)) pairs well with its complementary, analogous, and triadic hues. See the harmony swatches above for the exact hex values of each pairing type.