CSS Named Color
Copy-ready color values
HEX
#EE82EERGB
rgb(238, 130, 238)HSL
hsl(300, 76%, 72%)HSV
hsv(300, 45%, 93%)CMYK approx.
cmyk(0, 45, 0, 7)Color value table
| Format | Value | Copy |
|---|---|---|
| HEX | #EE82EE | |
| RGB | rgb(238, 130, 238) | |
| HSL | hsl(300, 76%, 72%) | |
| HSV | hsv(300, 45%, 93%) | |
| CMYK approx. | cmyk(0, 45, 0, 7) | |
| CSS keyword | violet |
Contrast and classification
LightLightness2.32:1Contrast with white9.06:1Contrast with blackMagenta / PurpleColor family
Shade and tint preview
White 10%#F08FF0
White 30%#F3A8F3
White 70%#FADAFA
White 90%#FDF3FD
Black 10%#D675D6
Black 30%#A75BA7
Black 70%#472747
Black 90%#180D18
Harmony palettes
Complementary
#117D11#4A9C4AAnalogous
#E182EE#EE8FE1Triadic
#82EEEE#EEEE82Split complementary
#3C943C#0E670EUsing Violet
Violet 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-violet: #ee82ee;
}
.button-primary {
background: var(--color-violet);
color: #000000;
}
$violet: #ee82ee;
// Tailwind arbitrary value
class="bg-[#ee82ee] text-white"