Violet color — #EE82EE
Violet is a CSS named color with the HEX code #EE82EE, RGB value rgb(238, 130, 238) and HSL value hsl(300, 76%, 72%).
Pink
Violet
#EE82EE
Color codes
- HEX
- #EE82EE
- RGB
- rgb(238, 130, 238)
- HSL
- hsl(300, 76%, 72%)
- HSV
- hsv(300, 45%, 93%)
- CMYK
- cmyk(0%, 45%, 0%, 7%)
- OKLCH
- oklch(76.19% 0.1861 327.21)
CSS usage
In CSS you can use the keyword or any equivalent value:
.element {
color: violet;
background-color: #ee82ee;
border-color: rgb(238, 130, 238);
outline-color: hsl(300, 76%, 72%);
}Shades
Tints
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Contrast ratio
Contrast ratio against white and black text, per WCAG 2.2.
Violet — On white2.31:1 · Fail
Violet — On black9.06:1 · AAA