CSS Named Color
Copy-ready color values
HEX
#9370DBRGB
rgb(147, 112, 219)HSL
hsl(260, 60%, 65%)HSV
hsv(260, 49%, 86%)CMYK approx.
cmyk(33, 49, 0, 14)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #9370DB | |
| RGB | rgb(147, 112, 219) | |
| HSL | hsl(260, 60%, 65%) | |
| HSV | hsv(260, 49%, 86%) | |
| CMYK approx. | cmyk(33, 49, 0, 14) | |
| CSS keyword | mediumpurple |
Contrast and classification
LightLightness3.76:1Contrast with white5.58:1Contrast with blackPurple / BlueColor family
Shade and tint preview
White 10%#9E7EDF
White 30%#B39BE6
White 70%#DFD4F4
White 90%#F4F1FB
Black 10%#8465C5
Black 30%#674E99
Black 70%#2C2242
Black 90%#0F0B16
Harmony palettes
Complementary
#6C8F24#8FAA59Analogous
#8F70D2#937DCETriadic
#70DB93#DB9370Split complementary
#86A34B#59751EUsing Mediumpurple
Mediumpurple 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-mediumpurple: #9370db;
}
.button-primary {
background: var(--color-mediumpurple);
color: #000000;
}
$mediumpurple: #9370db;
// Tailwind arbitrary value
class="bg-[#9370db] text-white"