Color combinations / Green and Purple
Green and Purple color combination
These colors sit nearly opposite on the color wheel, so they are complementary and create strong contrast.
Do they work together?
Not for text. The ratio is 1.83:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.
Contrast is the same in both directions. Check other pairs in the contrast checker.
See it in use
The quick brown fox jumps over the lazy dog.
The quick brown fox jumps over the lazy dog.
Make the pair accessible
Keep the hue and adjust lightness until body text passes 4.5:1.
Copy the colors
--green: #008000; --purple: #800080;
More with green
Common questions
Do green and purple go well together?
These colors sit nearly opposite on the color wheel, so they are complementary and create strong contrast. Not for text. The ratio is 1.83:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.
What are the hex codes for green and purple?
Green is #008000 and Purple is #800080.
Can I use green text on purple?
Not for text. The ratio is 1.83:1, which fails WCAG AA. Use them for shapes and decoration instead, or adjust one color.