Mediumorchid — #BA55D3
#BA55D3 is a medium, moderately saturated violet. It is the CSS named color mediumorchid.
Color values
| HEX | #BA55D3 |
| RGB | rgb(186, 85, 211) |
| HSL | hsl(288, 59%, 58%) |
| CMYK | cmyk(12%, 60%, 0%, 17%) |
| Decimal | 12211667 |
| CSS | color: #BA55D3; |
| Android | 0xFFBA55D3 |
| Swift | UIColor(red: 0.729, green: 0.333, blue: 0.827, alpha: 1) |
Accessibility and contrast
| White text on #BA55D3 | 3.94:1 — AA fail · AA large pass · AAA fail |
| Black text on #BA55D3 | 5.33:1 — AA pass · AA large pass · AAA fail |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #BA55D3
Each swatch keeps the hue and saturation of #BA55D3 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #BA55D3
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #BA55D3 in code
/* CSS */
.element { color: #BA55D3; background-color: #BA55D3; }
.element { color: rgb(186 85 211); }
.element { color: hsl(288 59% 58%); }
/* Tailwind arbitrary value */
<div class="bg-[#BA55D3] text-black">
/* SCSS variable */
$brand: #BA55D3;
Frequently asked questions
What color is #BA55D3?
#BA55D3 is a medium, moderately saturated violet, which CSS calls mediumorchid. Its hue sits at 288° on the color wheel, with 59% saturation and 58% lightness.
What is #BA55D3 in RGB?
#BA55D3 converts to rgb(186, 85, 211) — 186 red, 85 green and 211 blue.
What is #BA55D3 in CMYK?
Approximately cmyk(12%, 60%, 0%, 17%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #BA55D3 be white or black?
Black gives the better contrast ratio (5.33:1 versus 3.94:1).
What is the complementary color of #BA55D3?
#6ED355 — the hue directly opposite #BA55D3 on the color wheel.