Color combinations / Yellow and Purple
Yellow and Purple color combination
These colors are roughly a third of the wheel apart, a triadic-style pairing that feels lively.
Do they work together?
Yes. Yellow and Purple have a contrast ratio of 8.77:1, which passes WCAG AA for body text.
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.
Copy the colors
--yellow: #ffff00; --purple: #800080;
More with yellow
Common questions
Do yellow and purple go well together?
These colors are roughly a third of the wheel apart, a triadic-style pairing that feels lively. Yes. Yellow and Purple have a contrast ratio of 8.77:1, which passes WCAG AA for body text.
What are the hex codes for yellow and purple?
Yellow is #FFFF00 and Purple is #800080.
Can I use yellow text on purple?
Yes. Yellow and Purple have a contrast ratio of 8.77:1, which passes WCAG AA for body text.