In the RGB color space, #9370DB is composed of 57.6471% red, 43.9216% green, and 85.8824% blue.
In the CMYK color space, #9370DB is composed of 32.87% cyan, 48.86% magenta, 0% yellow, and 14.12% black,
It has a hue angle of 259.6 degrees, a saturation of 59.77%, and a lightness of 64.9%.
The closest websafe color is #9966CC.
#9370DB has a CSS color name: MediumPurple.
The hexadecimal color #9370DB has RGB values of R:147, G:112, B:219 and CMYK values of C:32.87, M:48.86, Y:0, K:14.12. It has a decimal value of 9662683.
Hexadecimal | #9370DB | #9370DB |
RGB Decimal | 147, 112, 219 | rgb(147, 112, 219) |
RGB Percent | 57.6471, 43.9216, 85.8824 | rgb(57.6471%, 43.9216%, 85.8824%) |
RGB Proportion | 0.5765, 0.4392, 0.8588 | rgb(0.5765, 0.4392, 0.8588) |
CMYK | 32.87, 48.86, 0, 14.12 | |
HSL | 259.6ยบ, 59.77, 64.9 | hsl(259.6, 59.77%, 64.9%) |
Websafe | 9966CC | #9966CC |
XYZ | 30.613, 22.905, 69.821 | |
Yxy | 22.905, 0.248, 0.186 | |
CIE-LAB | 54.974, 36.812, -50.097 | |
CIE-LCH | 54.974, 62.168, 306.309 | |
CIE-LUV | 54.974, 8.55, -82.284 | |
Hunter-Lab | 47.859, 30.424, -52.996 |
Colors that go well with MediumPurple / #9370DB.
Common HTML and CSS shortcodes for MediumPurple / #9370DB.
<div style="color: #9370DB;">The quick brown fox jumps over the lazy dog.</div>
<div style="background-color: #9370DB;">The quick brown fox jumps over the lazy dog.</div>
<div style="border: 1px solid #9370DB;">The quick brown fox jumps over the lazy dog.</div>
Linear gradient from #9370DB to transparent.
<div style="background: linear-gradient(#9370DB, rgba(255, 255, 255, 0));">The quick brown fox jumps over the lazy dog.</div>
Radial gradient from #9370DB to transparent.
<div style="background: radial-gradient(#9370DB, rgba(255, 255, 255, 0));">The quick brown fox jumps over the lazy dog.</div>
Linear gradient from #9370DB to #6C8F24.
<div style="background: linear-gradient(#9370DB, #6C8F24);">The quick brown fox jumps over the lazy dog.</div>
Radial gradient from #9370DB to #6C8F24.
<div style="background: radial-gradient(#9370DB, #6C8F24);">The quick brown fox jumps over the lazy dog.</div>
Handy CSS code and shortcuts.
.text { color: #9370DB; }
.background { background-color: #9370DB; }
.border { border: 1px solid #9370DB; }
.linear-gradient { background: linear-gradient(#faf310, rgba(255, 255, 255, 0)); }
.radial-gradient { background: radial-gradient(#faf310, rgba(255, 255, 255, 0)); }
Shades are created by adding black to the color, while a tint is created by mixing white. The darkest shade in this example is #020204 while the lightest tint is #FDFCFE.