Skip to main content
matte

#BA55D3

mediumorchid

#BA55D3 is the CSS named color "mediumorchid", an exact match. In RGB it breaks down to red 186, green 85, and blue 211 out of 255 each. In HSL terms that's a hue of 288°, 59% saturation, and 58% lightness: a mid-tone — usable as an accent for buttons, links, and icons against either a light or dark background.

Every format

HEX#ba55d3
RGBrgb(186, 85, 211)
HSLhsl(288° 59% 58%)
HSBhsb(288° 60% 83%)
OKLCHoklch(63% 0.202 319°)
OKLABoklab(63% 0.153 -0.132)
LCHlch(53% 72.7 319°)
CMYKcmyk(12% 60% 0% 17%)

Shades (darker)

#ba55d3 · #aa45c2 · #9a33b2 · #8a20a2 · #7a0492

Tints (lighter)

#ba55d3 · #c661e0 · #d36dec · #df79f9 · #ec85ff

Shades mix #BA55D3 toward black in even steps, useful for hover and pressed states in a UI; tints mix it toward white, useful for subtle backgrounds and disabled states that still read as the same color family.

On white: 3.94:1 — AA (large text only)
On black: 5.33:1 — AA

Frequently asked

What is #BA55D3 in RGB?
#BA55D3 is rgb(186, 85, 211) — red 186, green 85, blue 211 out of 255 each.
Does #BA55D3 pass WCAG contrast on a white background?
It has a contrast ratio of 3.94:1 against white, which passes WCAG AA (large text only) for normal text.
What's a good background color to pair with #BA55D3?
Black text or a black background gives better contrast (5.33:1) than white (3.94:1).

Related colors

Full color tools