CSS named color

Medium Orchid #BA55D3

Medium Orchid is violet. Below: every color format, WCAG contrast against black and white, its tints, shades and tones, and the harmonies that pair with it.

Color values

Contrast & accessibility

WCAG contrast ratio of Medium Orchid used as a foreground on white and black backgrounds.

Aa The quick brown fox
3.94:1

On white

AA ✕ AAA ✕ AA Large ✓
Aa The quick brown fox
5.33:1

On black

AA ✓ AAA ✕ AA Large ✓

Tints, shades & tones

Systematic variations of Medium Orchid — click any swatch to copy its hex.

Tintsmixed toward white
Shadesmixed toward black
Tonesmixed toward gray

Simulated colour vision

How Medium Orchid reads under the four common colour-vision deficiencies, using the standard Machado (2009) matrices at full severity. A simulation, not a measurement of any one person's vision; the point is whether this colour still does its job when hue drops out.

Typical vision#BA55D3

Tailwind-style ramp

Eleven steps from 50 to 950 with the hue and saturation of Medium Orchid held and only lightness stepped. Computed, not curated: the 500 step sits closest to the source, which is where Tailwind puts a brand colour.

Color harmonies

Palettes built from Medium Orchid by rotating its hue. Each swatch links to its closest named color.

Use Medium Orchid in your stack

Tailwind (arbitrary value)

Works for any property: text-[#ba55d3], border-[#ba55d3].

CSS custom property

Reference it anywhere with var(--color).

Build a full theme

Turn Medium Orchid into a complete shadcn/ui palette — light & dark, contrast-checked, one-command install.

Extract a theme →

Similar named colors

← All CSS named colors