Purple
#800080
Purple is a pink tone at #800080. It sits at 300 degrees on the color wheel with 100% saturation and 25% lightness.
Color values
#800080
Purple is a pink tone at #800080. It sits at 300 degrees on the color wheel with 100% saturation and 25% lightness.
Color values
Tints mix Purple 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 white9.42:1
Passes AAA for body textOn black2.23:1
Fails WCAG for textCheck a specific pairing in the contrast checker.
4 questions people ask about Purple.
The hex code for Purple is #800080. In RGB that is rgb(128, 0, 128), and in HSL it is hsl(300, 100%, 25%).
Purple is 128 red, 0 green, and 128 blue, written as rgb(128, 0, 128).
Purple scores 9.42:1 against white. WCAG AA needs 4.5:1 for body text, so it passes.
Yes. You can write color: purple directly in CSS, which every browser resolves to #800080.