Violet Color #EE82EE
Violet color codes
#EE82EErgb(238, 130, 238)hsl(300, 76.1%, 72.2%)hsv(300, 45.4%, 93.3%)oklch(0.762 0.186 327.2)--violet: #EE82EE;Black text is the readable choice on Violet: 9.06:1.
About the name violet
From Old French violete and Latin viola, the violet flower; first recorded as an English color name in 1370. (Wikipedia)
Violet is a CSS named color: you can write violet instead of #EE82EE in any stylesheet. The name has no single standard value; the value shown here is the most widely cited one.
Wikipedia's Violet (color) article leads with the spectral/color-wheel violet 8000FF; CSS violet is the much lighter EE82EE.
| Violet (color wheel / spectral) | #8000FF |
Violet shades and tints
Click a swatch to copy it. The middle swatch is the base color; steps are even in OKLCH lightness.
Colors that go with violet
Text contrast on violet
Violet color palettes
Violet gradients
background: linear-gradient(135deg, #FECEFD 0%, #EE82EE 100%);background: linear-gradient(90deg, #EE82EE 0%, #EE82B8 100%);background: linear-gradient(135deg, #EE82EE 0%, #82EE82 100%);Violet in CSS
:root {
--violet: #EE82EE;
--violet-rgb: 238, 130, 238;
}
.button {
background: var(--violet);
color: #000000; /* 9.06:1 */
}Tailwind: bg-[#EE82EE] · text-[#EE82EE]
Colors similar to violet
Frequently asked questions
What is the hex code for violet?
Violet is #EE82EE (the CSS color name violet). In RGB it is rgb(238, 130, 238) and in HSL hsl(300, 76.1%, 72.2%). The name has no single standard value; other common values are listed above.
What colors go with violet?
On the color wheel, violet (#EE82EE) pairs with its complement #82EE82, its analogous colors #B882EE and #EE82B8, and the triadic colors #EEEE82 and #82EEEE. Lighter tints and darker shades of violet itself also make an easy monochromatic scheme.
What text color works on violet?
Black text is the readable choice on Violet: 9.06:1. Violet text on white is 2.31:1 (fails WCAG AA for normal text) and on black 9.06:1 (passes).
What is the RGB value of violet?
Violet (#EE82EE) is red 238, green 130 and blue 238: rgb(238, 130, 238).
Sources
- W3C, CSS Color Module Level 4: named colors
- Wikipedia, Violet (color) (revision 1385390774); text adapted under CC BY-SA 4.0
- Cross-checked: Wikipedia 'List of colors: N–Z' (rev 1384289083), entry 'Violet (web)'
- RGB, HSL, OKLCH, shades, harmonies and contrast are computed with SwatchNest's tested color library. Updated 2026-11-24