MediumOrchid color

Inspect MediumOrchid (#BA55D3) in HEX, RGB, HSL, LCH and OKLCH, check its contrast, and copy the value you need.

#ba55d3

MediumOrchid

MediumOrchid color values

MediumOrchid

#BA55D3

Black text reads best on this background, at 5.33:1.

MediumOrchid is one of the 148 CSS named colors, and resolves to #BA55D3 in every browser. In numbers that is rgb(186, 85, 211) and hsl(288, 59%, 58%). Perceptually it is a mid-toned, vivid color: OKLCH puts its lightness at 63% and its chroma at 0.202. It sits in the purples at 319 degrees of OKLCH hue, and reads as a cool color.

White text only reaches 3.94:1 here, so black text is the safer pairing at 5.33:1. At this chroma it is loud enough to be an accent or a call to action, but it will fight anything else vivid placed next to it.

The closest CSS named colors to MediumOrchid, measured with CIEDE2000, are Orchid (#DA70D6), MediumPurple (#9370DB), Fuchsia (#FF00FF). If MediumOrchid is not quite right, those are the nearest keywords to try before reaching for a custom value.

HEX

#BA55D3

RGB

rgb(186, 85, 211)

HSL

hsl(288, 59%, 58%)

HWB

hwb(288 33% 17%)

CMYK

cmyk(12%, 60%, 0%, 17%)

LAB

lab(53.37 55.02 -47.45)

LCH

lch(53.37 72.66 319.23)

OKLCH

oklch(62.56% 0.2024 319.23)

Is MediumOrchid accessible?

WCAG asks for 4.5:1 between body text and its background. On #BA55D3 white text measures 3.94:1 and black text 5.33:1, so black clears it and white does not.

White text on MediumOrchid

WCAG 2.2

3.94:1

APCA

Lc 71

Fails AA body text

Fails AAA body text

Passes AA large text

Black text on MediumOrchid

WCAG 2.2

5.33:1

APCA

Lc 37

Passes AA body text

Fails AAA body text

Passes AA large text

Check MediumOrchid against any other color in the contrast checker.

Tints and shades of MediumOrchid

MediumOrchid sits at 63% OKLCH lightness. Holding its hue and chroma and moving only that value carries it up to #FDF5FF and down to #0E0013, which keeps the family recognizable instead of letting it drift toward gray the way a plain HSL ramp does.

Tints, toward white

#D16CEB

20% lighter

#E686FF

40% lighter

#EEAEFF

60% lighter

#F6D3FF

80% lighter

#FDF5FF

100% lighter

Shades, toward black

#9933B2

20% darker

#7A0291

40% darker

#530063

60% darker

#2E0039

80% darker

#0E0013

100% darker

Build a full accessible scale from #BA55D3 in the shade generator.

Colors that go with MediumOrchid

Hues rotated around #BA55D3 in OKLCH, then pulled back into the sRGB gamut. Each swatch is labelled with the nearest CSS named color so you have a keyword to start from.

Complementary

MediumOrchid sits at 319 degrees. Rotating it a half turn lands on 139 degrees, the hue directly opposite. It is the strongest pairing you can make without changing lightness, and the one most likely to vibrate if you use both at full chroma.

Analogous

The neighbors of MediumOrchid at 289 and 349 degrees. They stay close enough to read as the same family, which is what you want for hover states, secondary surfaces and gradients.

Triadic

319, 79 and 199 degrees divide the wheel into thirds. Balanced enough to carry a whole palette without one color dominating the other two.

Split complementary

Instead of the complement at 139 degrees, this pair flanks it at 109 and 169. You keep most of the contrast of a complementary pairing while losing the harshness.

Explore more combinations around MediumOrchid on the color wheel.

How MediumOrchid looks with color blindness

The biggest shift is under achromatopsia, where #BA55D3 reads as #747474, 28.5 CIEDE2000 units away. If MediumOrchid is the only thing marking a state or a series, roughly one viewer in twelve will miss it.

Protanopia

#4B6DD9

Deuteranopia

#5D77CE

Tritanopia

#BD607C

Achromatopsia

#747474

Colors similar to MediumOrchid

The nearest CSS keywords to #BA55D3, ranked by perceptual distance rather than by how close their hex digits happen to look.