CSS color names · Purples

Medium Orchid color: hex #ba55d3, RGB and HSL

Medium Orchid is the CSS keyword mediumorchid, hex #ba55d3, rgb(186, 85, 211), hsl(288, 59%, 58%). It is a medium, vivid violet in the purples family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.

CSS name
mediumorchid
Hex
#ba55d3
RGB
rgb(186, 85, 211)
HSL
hsl(288, 59%, 58%)
On white
3.94:1 — large text and UI only (3:1)
On black
5.33:1 — passes AA for body text
.example {
  color: mediumorchid;          /* keyword */
  color: #ba55d3;          /* hex */
  color: rgb(186, 85, 211); /* rgb */
  color: hsl(288, 59%, 58%); /* hsl */
}

What colors go with medium orchid

Each match keeps medium orchid's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside medium orchid as the primary; the harmony guides explain which rule suits which interface.

Complementary

The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.

#6ed355

Split-complementary

The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.

#add355
#55d37b

Triadic

Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.

#d3ba55
#55d3ba

Analogous

The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.

#7b55d3
#d355ad

Tints and shades of medium orchid

Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as medium orchid — these are the hover, pressed, disabled and surface variants a single brand color needs.

Tints (lighter)

#c571da
#d18ee2
#dcaae9
#e8c6f0
#f4e3f8

Shades (darker)

#a733c4
#86299d
#641e76
#43144e
#210a27

A UI color palette built from medium orchid

The eight semantic roles an interface actually uses, derived from medium orchid as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.

Light mode
primary
#ba55d3
secondary
#add355
accent
#55d37b
background
#fdfcfd
surface
#f6f3f7
text
#1f1122
muted
#83588e
border
#e9dfec
Dark mode
primary
#ba55d3
secondary
#add355
accent
#55d37b
background
#180e1a
surface
#241628
text
#f6f3f6
muted
#af96b6
border
#422849

Using medium orchid in an interface

Purple is the hue most SaaS products have settled on for a primary — it is distinct from the blues of links and the reds and greens of status. The slate blues and indigo make dependable primaries; the light lavenders make tinted surfaces that still read as brand. Whichever role medium orchid takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.

What is the hex code for Medium Orchid?
Medium Orchid is #ba55d3. In CSS the keyword mediumorchid, the hex #ba55d3, rgb(186, 85, 211) and hsl(288, 59%, 58%) all paint the same color.
What colors go with Medium Orchid?
Its complement is #6ed355, the split-complementary pair is #add355 and #55d37b, the triadic partners are #d3ba55 and #55d3ba, and the analogous neighbors are #7b55d3 and #d355ad. In an interface, use Medium Orchid for most colored elements and one of these for a single accent, at roughly an 80/20 split.
What is the opposite of Medium Orchid on the color wheel?
The opposite (complementary) color is #6ed355, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
Can I use Medium Orchid for text?
Medium Orchid as text on white has a contrast ratio of 3.94:1, which fails WCAG AA for body text (4.5:1) but passes for large text and UI components (3:1). On black it is 5.33:1, which passes for body text. Use it as text on dark surfaces, or as a fill with dark text on top.

Similar named colors

More purples

We'd like to use Google cookies to understand how Nodlume is used and to measure our advertising. Nothing loads until you choose, and declining does not affect anything in the app.