#BA55D3 color (mediumorchid)

#BA55D3 is rgb(186, 85, 211) in RGB and hsl(288, 59%, 58%) in HSL. It is exactly the CSS color mediumorchid. Use black text on it (contrast 5.33:1).

#BA55D3mediumorchid
HEX#BA55D3
RGBrgb(186, 85, 211)
RGB percentrgb(72.9%, 33.3%, 82.7%)
HSLhsl(288, 59%, 58%)
HSV / HSBhsv(288, 60%, 83%)
CMYKcmyk(12%, 60%, 0%, 17%)
CIELAB (D65)lab(53.6 59.1 -47.4)

Edit in the color converter → · Check contrast → · Shades →

About #BA55D3

#BA55D3 is a light, saturated magenta with a hue angle of 288°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 211 (83%) and green the weakest at 85 (33%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#BA55D3
RGBrgb(186, 85, 211)
RGB percentrgb(72.9%, 33.3%, 82.7%)
HSLhsl(288, 59%, 58%)
HSV / HSBhsv(288, 60%, 83%)
CMYKcmyk(12%, 60%, 0%, 17%)
CIELAB (D65)lab(53.6 59.1 -47.4)
Decimal12211667
Binary10111010 01010101 11010011

HEX BA 55 D3 → 186, 85, 211 (each pair is a base-16 number: B×16 + A = 186)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #BA55D3

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #BA55D3RatioAA normalAA largeAAA normalAAA large
White text3.94:1FailPassFailFail
Black text5.33:1PassPassFailPass
White text on #BA55D3
Black text on #BA55D3
#BA55D3 text on white
#BA55D3 text on black

Relative luminance is 0.2164 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#3679d7

Deuteranopia
#5d84d0

Tritanopia
#ba698c

Achromatopsia
#808080

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 26.1). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
mediumorchid#ba55d30
orchid#da70d69.5
mediumpurple#9370db10.1
magenta#ff00ff10.6

CSS

.element {
  color: #ba55d3;
  background-color: rgb(186, 85, 211);
  border: 1px solid hsl(288, 59%, 58%);
  box-shadow: 0 2px 8px rgb(186 85 211 / 50%);
}
:root { --brand: #ba55d3; }

Frequently asked questions

What color is #BA55D3?
A light saturated magenta in the purple family. Closest CSS name: mediumorchid.
What is #BA55D3 in RGB?
rgb(186, 85, 211): red 186, green 85, blue 211.
What is the complementary color of #BA55D3?
#6ED355, found by rotating the hue 180°.