CSS Named Color

Copy-ready color values

HEX#BA55D3
RGBrgb(186, 85, 211)
HSLhsl(288, 59%, 58%)
HSVhsv(288, 60%, 83%)
CMYK approx.cmyk(12, 60, 0, 17)

Color value table

FormatValueCopy
HEX#BA55D3
RGBrgb(186, 85, 211)
HSLhsl(288, 59%, 58%)
HSVhsv(288, 60%, 83%)
CMYK approx.cmyk(12, 60, 0, 17)
CSS keywordmediumorchid

Contrast and classification

LightLightness3.94:1Contrast with white5.33:1Contrast with blackPurple / BlueColor family

Shade and tint preview

White 10%
#C166D7

White 30%
#CF88E0

White 70%
#EACCF2

White 90%
#F8EEFB

Black 10%
#A74DBE

Black 30%
#823C94

Black 70%
#381A3F

Black 90%
#130915

Harmony palettes

Complementary

#45AA2C
#72BE5F

Analogous

#AE55D0
#BA64C4

Triadic

#55D3BA
#D3BA55

Split complementary

#66B952
#398B24

Using Mediumorchid

Mediumorchid works best when it is chosen with contrast, surrounding colors, and interface state in mind. Use the HEX value for static CSS, RGB when you need channel-level control, and HSL when adjusting lightness or saturation for hover states. The CMYK value is an approximate screen-to-print conversion, so print workflows should still rely on calibrated design software or a printer profile.

CSS, SCSS, and Tailwind examples

:root {
  --color-mediumorchid: #ba55d3;
}

.button-primary {
  background: var(--color-mediumorchid);
  color: #000000;
}

$mediumorchid: #ba55d3;

// Tailwind arbitrary value
class="bg-[#ba55d3] text-white"