Skip to content

Medium Orchid

Hex #BA55D3, rgb(186 85 211). A purple CSS named color.

Open in palette generator

Medium Orchid color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Medium Orchid

Medium Orchid is a medium vivid purple with the hex code #BA55D3. In RGB it is made of 186 red, 85 green and 211 blue; in HSL its hue is 288°, with 59% saturation and 58% lightness. Its perceptual lightness (OKLCH L) is 62.6%.

It is a CSS named color, so you can write "mediumorchid" anywhere CSS accepts a color. Against white it has a contrast ratio of 3.94:1 and against black 5.33:1, so black text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Medium Orchid mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Medium Orchid 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Medium Orchid

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Split complementary

Tetradic

Monochromatic

Contrast and readability

WCAG 2 contrast of Medium Orchid with white and black. The readable text color on Medium Orchid is black.

Medium Orchid textSmall text on white

On white3.94:1

  • AA fail
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc 66

Medium Orchid textSmall text on black

On black5.33:1

  • AA pass
  • AA Large pass
  • AAA fail
  • UI 3:1 pass

APCA Lc -35

Black text on Medium Orchid (#000000)

Test any pair in the contrast checker.

Color blindness preview

How Medium Orchid appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#3679D7
  • Deuteranopia#5D84D0
  • Tritanopia#BA698C
  • Protanomaly#6F73D5
  • Deuteranomaly#7A7AD1
  • Tritanomaly#BC5EB7
  • Achromatopsia#808080

Colors similar to Medium Orchid

The closest named colors by perceptual difference (OKLab).

Use Medium Orchid in CSS and Tailwind

CSS
.medium-orchid {
  color: mediumorchid; /* #BA55D3 */
  background-color: rgb(186 85 211);
  border-color: oklch(62.6% 0.202 319.2);
}
Tailwind CSS
/* Tailwind CSS v4: bg-medium-orchid-500, text-medium-orchid-700... */
@theme {
  --color-medium-orchid-50: #FEF8FF;
  --color-medium-orchid-100: #F7E7FC;
  --color-medium-orchid-200: #EECFF5;
  --color-medium-orchid-300: #E0A9EE;
  --color-medium-orchid-400: #CB76E0;
  --color-medium-orchid-500: #BA55D3;
  --color-medium-orchid-600: #A341BB;
  --color-medium-orchid-700: #843298;
  --color-medium-orchid-800: #692979;
  --color-medium-orchid-900: #552262;
  --color-medium-orchid-950: #25052C;
}

<!-- or the exact color, no config -->
<div class="bg-[#BA55D3] text-[#000000]">…</div>