Medium Orchid Hex Code #BA55D3
Medium Orchid is a medium, strong purple with the hex code #BA55D3. In RGB it is 186, 85, 211, and in HSL it is 288°, 59%, 58%. It is one of the 148 named colors in CSS, so you can write “mediumorchid” instead of the hex code.
- HEX
- #BA55D3
- RGB
- rgb(186, 85, 211)
- HSL
- hsl(288, 59%, 58%)
- HSV
- hsv(288°, 60%, 83%)
- CMYK
- cmyk(12%, 60%, 0%, 17%)
- CSS name
- mediumorchid
CMYK is a simple screen-to-print estimate. Real print results depend on the printer and paper.
About Medium Orchid
On a white background Medium Orchid has a contrast ratio of 3.94:1 (AA Large), and on black 5.33:1 (AA). Black text is the better choice on top of it.
It sits between the warm and cool halves of the color wheel, so it pairs comfortably with either.
Purple combines the calm of blue with the energy of red. It reads as creative and premium, and is often used by design, media and beauty brands.
Shades and tints of Medium Orchid
Tints mix Medium Orchid with white and shades mix it with black, in steps of 20%. Select a swatch to copy its hex code.
Color harmonies for Medium Orchid
These schemes are calculated from Medium Orchid on the RGB (screen) color wheel. Select a swatch to copy it, or open any scheme in the color wheel to adjust it.
On the artist’s RYB wheel, the complement of Medium Orchid is #C0D355, close to the named color Yellow Green.
Medium Orchid contrast and accessibility
WCAG asks for a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text (AA), and 7:1 and 4.5:1 for AAA. This is how Medium Orchid scores against white and black.
| Against | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|
| White (#ffffff) | 3.94:1 | ✕ Fail | ✓ Pass | ✕ Fail | ✕ Fail |
| Black (#000000) | 5.33:1 | ✓ Pass | ✓ Pass | ✕ Fail | ✓ Pass |
Medium Orchid and color blindness
These are approximate previews of how Medium Orchid can look with the main types of color vision deficiency.
Medium Orchid changes noticeably.
Medium Orchid changes noticeably.
Medium Orchid changes noticeably.
Medium Orchid changes noticeably.
Gradients with Medium Orchid
Three ready-made starting points. Copy the CSS, or open one in the generator to edit the stops and check contrast.
Medium Orchid to a lighter tint
background: linear-gradient(135deg, #ba55d3 0%, #e3bbed 100%); Medium Orchid to its analogous neighbour
background: linear-gradient(135deg, #ba55d3 0%, #d355ad 100%); Medium Orchid to its complement
background: linear-gradient(135deg, #ba55d3 0%, #6ed355 100%); Colors similar to Medium Orchid
How each close match differs from Medium Orchid.
- Orchid #DA70D6 Slightly lighter, leans more magenta.
- Dark Orchid #9932CC Slightly darker, more saturated.
- Violet #EE82EE Lighter, leans more magenta.
- Medium Purple #9370DB Very close in lightness, saturation and hue.
- Dark Magenta #8B008B Darker, leans more magenta.
- Medium Slate Blue #7B68EE Leans more blue.
Use Medium Orchid in code
.element {
color: #ba55d3;
background-color: #ba55d3;
border-color: mediumorchid; /* mediumorchid is a valid CSS color name */
} :root {
--color-medium-orchid: #ba55d3;
} <!-- Tailwind arbitrary values -->
<div class="bg-[#ba55d3] text-[#ba55d3] border-[#ba55d3]"></div>
/* Tailwind v4 theme color */
@theme {
--color-medium-orchid: #ba55d3;
} Medium Orchid questions
What is the hex code for Medium Orchid?
The hex code for Medium Orchid is #BA55D3. In RGB that is rgb(186, 85, 211), and in HSL it is hsl(288, 59%, 58%).
What is the complementary color of Medium Orchid?
On the RGB (screen) color wheel, the complement of Medium Orchid is #6ED355, which is close to Lime Green. On the artist’s RYB wheel it is #C0D355, close to Yellow Green.
Should I use white or black text on Medium Orchid?
Black text. It has a contrast ratio of 5.33:1 against Medium Orchid, which is WCAG AA. The other option scores 3.94:1.
Is Medium Orchid accessible as a text color on white?
Only for large text. Medium Orchid on white scores 3.94:1, which passes WCAG AA for large text (3:1) but not for normal text (4.5:1).
What are darker and lighter shades of Medium Orchid?
Mixing Medium Orchid with black gives #9544A9, #70337F, #4A2254, #25112A (20% to 80% black). Mixing it with white gives #C877DC, #D699E5, #E3BBED, #F1DDF6 (20% to 80% white).