Medium Purple Color

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

Medium Purple color codes

Medium Purple is one of the named colors every browser understands. In CSS you can write it as mediumpurple or #9370DB.

FormatValue
HEX#9370DB
RGBrgb(147, 112, 219)
HSLhsl(260, 60%, 65%)
CMYK33%, 49%, 0%, 14%
CSS namemediumpurple
.example {
  color: mediumpurple;
  background-color: #9370DB;
  border-color: rgb(147, 112, 219);
}

Colors that go with medium purple

These harmonies keep the same saturation and lightness and rotate the hue around the color wheel.

#B8DB70Complementary
#7082DBAnalogous
#C970DBAnalogous
#DB9370Triadic
#70DB93Triadic

Tints and shades of medium purple

Tints mix the color with white; shades mix it with black.

#F4F1FB90% white
#E4DBF675% white
#D4C6F160% white
#C4B0EB45% white
#B39BE630% white
#A385E015% white
#9370DBBase
Medium Purple
#7D5FBA15% black
#674E9930% black
#513E7845% black
#3B2D5860% black
#251C3775% black
#0F0B1690% black

Contrast and readability

Black text
5.58:1
passes AA
White text
3.76:1
large text only

Use black text on medium purple. Ratios follow the WCAG 2 formula; AA needs 4.5:1 for normal text and 3:1 for large text.

Frequently asked questions

What is the hex code for medium purple?

The hex code for medium purple is #9370DB.

What is the RGB value of medium purple?

Medium Purple is rgb(147, 112, 219): 147 red, 112 green and 219 blue on a 0 to 255 scale.

What color goes with medium purple?

Its complementary color is #B8DB70, which is closest to the named color dark khaki. Analogous and triadic matches are listed on this page.

Should text on medium purple be black or white?

Use black text. The contrast ratio is 5.58:1 with black and 3.76:1 with white. WCAG AA asks for at least 4.5:1 for normal text.

Similar named colors

Pick any other color with the color picker, or browse all named colors.