CSS Named Color
Copy-ready color values
HEX
#BA55D3RGB
rgb(186, 85, 211)HSL
hsl(288, 59%, 58%)HSV
hsv(288, 60%, 83%)CMYK approx.
cmyk(12, 60, 0, 17)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #BA55D3 | |
| RGB | rgb(186, 85, 211) | |
| HSL | hsl(288, 59%, 58%) | |
| HSV | hsv(288, 60%, 83%) | |
| CMYK approx. | cmyk(12, 60, 0, 17) | |
| CSS keyword | mediumorchid |
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#72BE5FAnalogous
#AE55D0#BA64C4Triadic
#55D3BA#D3BA55Split complementary
#66B952#398B24Using 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"