Purple color · CSS named color
Medium Orchid Color Code: #BA55D3
Medium Orchid (#BA55D3) is a medium, rich magenta shade: RGB 186, 85, 211, HSL 288°, 59%, 58%. Black text reads best on it (5.32:1 contrast).
Medium Orchid color values
#BA55D3
rgb(186, 85, 211)
hsl(288, 59%, 58%)
288, 60%, 83%
hwb(288 33% 17%)
12%, 60%, 0%, 17%
12211667
mediumorchid
CMYK is a standard screen-to-print conversion. Printed results depend on inks, paper and color profiles.
What is Medium Orchid?
Medium Orchid is one of the named colors defined by the CSS Color specifications (keyword “mediumorchid”), so every modern browser understands it without a hex code.
Its hue angle of 288° places it in the magenta part of the color wheel, with 59% saturation (rich) and 58% lightness (medium). It sits between warm and cool.
Compared with the other purple colors in the Aqeeb Studio library, it is lighter than 61% of them and more saturated than 29% of them.
Its relative luminance is 0.216, which makes it a mid-tone color. That is above the 0.179 crossover point at which black and white text have equal contrast, so black text has the advantage.
Medium Orchid counts as a light color: its HSL lightness is 58% and its relative luminance is 0.216. Black text reads best on it (5.32:1 contrast).
Text contrast on Medium Orchid
| Text | Preview | Ratio | AA normal | AA large | AAA normal | AAA large |
|---|---|---|---|---|---|---|
| White text | Sample text | 3.94:1 Limited | Fail | Pass | Fail | Fail |
| Black text | Sample text | 5.32:1 Good | Pass | Pass | Fail | Pass |
Ratios use the WCAG 2 formula and are truncated, never rounded up. Test any pair with the contrast checker.
Colors that go with Medium Orchid
Complementary color
Complementary colors sit directly opposite each other on the color wheel (180° apart). They give the strongest hue contrast, which suits calls to action and accents.
Analogous colors
Analogous colors are neighbors on the wheel, 30° either side of the base hue. They blend smoothly and are easy to combine in backgrounds, gradients and illustrations.
Triadic colors
A triadic scheme uses three hues spaced 120° apart. It is lively yet balanced, and works best when one color leads and the other two act as accents.
Split-complementary colors
Split-complementary keeps the base color and uses the two colors on either side of its complement (150° and 210°). The contrast is strong but gentler than a direct complement.
Tetradic colors
A tetradic (rectangle) scheme combines two complementary pairs at 0°, 60°, 180° and 240°. It offers variety but needs one dominant color to stay balanced.
Monochromatic variants
Monochromatic variants keep the same hue and saturation and only change lightness, which makes them dependable for UI scales and subtle layered designs.
A “≈” before a name means the exact harmony color has no named match, so the link goes to the closest named color.
Tints and shades of Medium Orchid
Lighter tints (mixed with white)
Darker shades (mixed with black)
Select any swatch to copy its HEX code. Build longer scales with the tints and shades tool.
Similar colors
Where to use Medium Orchid
- Card, highlight and section backgrounds with dark text (5.32:1 contrast with black)
- Large headings, icons and graphics, where a 3:1 contrast ratio is enough
- Creative and entertainment branding
- Premium-feeling accents and gradients
- Illustrations and hero sections
- Tags, badges and highlights
Use Medium Orchid in CSS
:root {
--color-medium-orchid: #BA55D3;
}
.element {
color: var(--color-medium-orchid);
background-color: #BA55D3;
border: 2px solid #BA55D3;
}
Questions about Medium Orchid
What is the HEX code for Medium Orchid?
Medium Orchid is #BA55D3.
What is the RGB value of Medium Orchid?
The RGB value of Medium Orchid is 186, 85, 211: 186 red, 85 green and 211 blue on a 0–255 scale, written rgb(186, 85, 211) in CSS.
What is the HSL value of Medium Orchid?
The HSL value of Medium Orchid is 288°, 59%, 58% (hue, saturation, lightness), written hsl(288, 59%, 58%) in CSS.
What is the CMYK value of Medium Orchid?
A standard conversion gives about C 12%, M 60%, Y 0%, K 17%. Real print results depend on the inks, paper and color profile, so treat CMYK here as a reference value.
Is Medium Orchid a light or dark color?
Medium Orchid counts as a light color: its HSL lightness is 58% and its relative luminance is 0.216. Black text reads best on it (5.32:1 contrast).
How does Medium Orchid look with white text?
White text on Medium Orchid has a contrast ratio of 3.94:1, rated Limited. It does not reach WCAG AA for normal text; use large text only.
How does Medium Orchid look with black text?
Black text on Medium Orchid has a contrast ratio of 5.32:1, rated Good. It meets WCAG AA for normal text.
What colors go well with Medium Orchid?
Fresh Green is its complementary color, and Slate Blue sits beside it as an analogous color. Lighter and darker variants of the same hue also work well for monochromatic palettes.
Where can Medium Orchid be used?
It suits card, highlight and section backgrounds with dark text (5.32:1 contrast with black); large headings, icons and graphics, where a 3:1 contrast ratio is enough; creative and entertainment branding.
How do I use Medium Orchid in CSS?
Use color: #BA55D3; for text, background-color: #BA55D3; for fills, or define a custom property such as --color-medium-orchid: #BA55D3; and reuse it with var(--color-medium-orchid).
About this color page
CSS named color (W3C CSS Color Module). Values are calculated from the HEX code; color names are labels, not trademarks or standards unless stated. Screens render colors differently, so always check important colors on your own device. See the disclaimer.