Medium Orchid #BA55D3

Medium Orchid color (#BA55D3)

Medium Orchid is one of the 148 CSS named colors. Use the keyword mediumorchid anywhere CSS accepts a color, or its hex code #BA55D3, which is rgb(186, 85, 211) in RGB.

It is a medium, vivid cool color with a hue angle of 288° on the HSL color wheel and a perceived lightness of 63% in OKLCH. On a medium orchid background, black text gives the higher contrast at 5.32:1, which passes WCAG AA for normal text.

Medium Orchid color codes

CSS name mediumorchid
HEX #BA55D3
HEX (8-digit) #BA55D3FF
RGB rgb(186, 85, 211)
HSL hsl(288, 59%, 58%)
HSV / HSB hsv(288, 60%, 83%)
OKLCH oklch(62.6% 0.2024 319.2)
CMYK cmyk(11.8%, 59.7%, 0%, 17.3%)

Contrast with white and black

WCAG 2 contrast ratios and APCA lightness contrast (Lc) for medium orchid used as text and as a background.

Aa Sample text
Medium Orchid text on white
3.94:1 WCAG Lc 66.2 APCA AA large text only
Aa Sample text
Medium Orchid text on black
5.32:1 WCAG Lc -35.5 APCA Passes AA
Aa Sample text
White text on medium orchid
3.94:1 WCAG Lc -71.7 APCA AA large text only
Aa Sample text
Black text on medium orchid
5.32:1 WCAG Lc 37.9 APCA Passes AA

Tints and shades of medium orchid

Tints mix medium orchid with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.

Tints

Shades

Colors that go with medium orchid

Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.

Complementary

Analogous

Triadic

Split-Complementary

Medium Orchid with color blindness

Approximately how medium orchid appears with each type of color vision deficiency. Test full designs with the color blindness simulator.

Using medium orchid in CSS

.element {
  color: mediumorchid;
  background-color: #ba55d3;
  border-color: rgb(186 85 211 / 50%);
  outline-color: oklch(62.6% 0.2024 319.2);
}

Similar named colors

See all shades of purple or browse every CSS color name.

Related tools