Medium purple is a soft, mid-light purple that leans toward blue, like lavender in shade or a faded violet. Its code is #9370DB: blue at about 86%, red at 58% and green at 44%. The green grays it a little, and the strong blue puts its hue at 260°, nearer blue-violet than true purple.
The keyword mediumpurple is not much like CSS purple, #800080, which is far darker and redder. That purple comes from the old 16-color VGA and HTML palette, while medium purple comes from the X Window System’s color list. The two lists were merged for the web, so the “medium” version is not a middle step of the plain one. It is also lighter and softer than X11’s own purple, 160 32 240.
The numbers are older than the name. In the first X color list, shipped in 1986, 147 112 219 was called medium orchid. That list built several colors by shuffling the same three numbers, 112, 147 and 219, into all six orders. In 1989 Paul Raveling kept the numbers but renamed them medium purple, and gave medium orchid a new value, today’s #BA55D3. The closest look-alike with its own page is amethyst, #9966CC, slightly darker and grayer; medium slate blue, #7B68EE, is bluer.
On screens, medium purple takes black text better than white: black on it has a contrast of about 5.6:1, enough for body text, while white reaches only about 3.8:1, fine for large headings only. It pairs well with warm gold, pale lilac, soft mint and deep navy-violet.