Violet
#EE82EE
Violet is a pink tone at #EE82EE. It sits at 300 degrees on the color wheel with 76% saturation and 72% lightness.
Color values
#EE82EE
Violet is a pink tone at #EE82EE. It sits at 300 degrees on the color wheel with 76% saturation and 72% lightness.
Color values
Tints mix Violet with white, shades mix it with black. Use the light end for backgrounds and the dark end for text that has to stay readable.
On white2.32:1
Fails WCAG for textOn black9.06:1
Passes AAA for body textCheck a specific pairing in the contrast checker.
4 questions people ask about Violet.
The hex code for Violet is #EE82EE. In RGB that is rgb(238, 130, 238), and in HSL it is hsl(300, 76%, 72%).
Violet is 238 red, 130 green, and 238 blue, written as rgb(238, 130, 238).
Violet scores 2.32:1 against white. WCAG AA needs 4.5:1 for body text, so it fails and should be used for fills or borders rather than type.
Yes. You can write color: violet directly in CSS, which every browser resolves to #EE82EE.