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.
| Format | Value | |
|---|---|---|
| HEX | #9370DB | |
| RGB | rgb(147, 112, 219) | |
| HSL | hsl(260, 60%, 65%) | |
| CMYK | 33%, 49%, 0%, 14% | |
| CSS name | mediumpurple |
.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.
Tints and shades of medium purple
Tints mix the color with white; shades mix it with black.
Medium Purple
Contrast and readability
5.58:1
passes AA
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.