Skip to content
Color Codes

CSS named color

MediumOrchid Color Code

MediumOrchid is a medium, moderately saturated purple with the hex code #BA55D3. In RGB it is rgb(186, 85, 211), in HSL hsl(288, 59%, 58%) and in CMYK cmyk(12%, 60%, 0%, 17%).

MediumOrchid
#BA55D3

Color values

In CSS you can write it as the keyword mediumorchid.

White text on MediumOrchid has a contrast ratio of 3.94:1 and black text 5.33:1, so black text is the more readable choice.

The closest Tailwind CSS color is Purple 500 (#A855F7).

Use MediumOrchid in CSS

.element {
  color: mediumorchid;
  background-color: #ba55d3;
  border-color: rgb(186, 85, 211);
}

Tints and shades of MediumOrchid

Ten steps from light to dark at the same hue. Click any swatch to copy it.

Colors that go with MediumOrchid

Color-wheel harmonies built from #BA55D3. Click a swatch to copy it or open the set in the color wheel.

Complementary

Open in color wheel

Opposite hues for maximum contrast and energetic accents.

Neighboring hues for calm, cohesive surfaces.

Three evenly spaced hues for balanced, colorful systems.

Split complementary

Open in color wheel

A base plus the two neighbors of its complement — contrast with less tension.

Text contrast on MediumOrchid

Aa
White text
3.94:1
AA · Large text
Aa
Black text
5.33:1
AA
Check in the contrast checker

Colors similar to MediumOrchid

Palettes with similar colors

Questions about MediumOrchid

What is the hex code for MediumOrchid?

The hex code for MediumOrchid is #BA55D3. Its RGB value is rgb(186, 85, 211) and its HSL value is hsl(288, 59%, 58%).

What colors go with MediumOrchid?

The complementary color of MediumOrchid is #6ED355. For a softer scheme try the analogous colors #7B55D3 and #D355AD; for a balanced three-color scheme use the triadic colors #D3BA55 and #55D3BA.

Is MediumOrchid readable as a text color?

On a white background MediumOrchid has a contrast ratio of 3.94:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 5.33:1.

More purple colors