Green and Purple
Complementary color combination with 1.83:1 contrast ratio
Color Values
#0080000, 128, 0120, 100%, 25%#800080128, 0, 128300, 100%, 25%Harmony: Complementary
These colors sit opposite each other on the wheel, producing maximum visual contrast. Complementary pairings are vibrant and attention-grabbing, but a 70/30 split keeps them from shouting.
The hue angle between Green and Purple is 180 degrees. You can explore these relationships interactively in our Color Wheel Tool.
WCAG Contrast
UI Preview
Green surface
Sample text on a green background demonstrates readability and visual hierarchy.
Purple surface
Sample text on a purple background demonstrates readability and visual hierarchy.
Design Tokens
CSS Variables
:root {
--color-a: #008000;
--color-b: #800080;
--color-a-rgb: 0, 128, 0;
--color-b-rgb: 128, 0, 128;
}JSON
{
"name": "Green and Purple",
"colors": [
{
"name": "Green",
"hex": "#008000",
"rgb": [
0,
128,
0
]
},
{
"name": "Purple",
"hex": "#800080",
"rgb": [
128,
0,
128
]
}
],
"harmony": "Complementary",
"contrastRatio": 1.83
}Related Combinations
Frequently Asked Questions
Do green and purple go together?
Yes. Green and Purple form a complementary color combination. These colors sit opposite each other on the wheel, producing maximum visual contrast. Complementary pairings are vibrant and attention-grabbing, but a 70/30 split keeps them from shouting. The pairing has a WCAG contrast ratio of 1.83:1, which is below the AA threshold for text — use it for decorative purposes rather than text readability.
What is the contrast ratio between green and purple?
The WCAG 2.1 contrast ratio between Green (#008000) and Purple (#800080) is 1.83:1. This ratio is below AA. Use the pairing for backgrounds, borders, and decorative elements rather than text-on-background combinations.
How do I use green and purple in design?
A safe starting point is the 60/30/10 rule: give one color about 60 percent of the surface area, the other about 30 percent, and reserve the remaining 10 percent for an accent or neutral. Since these are complementary colors, lean toward a 70/25/5 split to keep the contrast from becoming overwhelming. Test the result with our Contrast Checker if text is involved.
What are the hex and RGB values for green and purple?
Green has the hex code #008000 and RGB values rgb(0, 128, 0). Purple has the hex code #800080 and RGB values rgb(128, 0, 128). You can copy these directly into CSS or use the design tokens provided on this page.