What color do yellow and purple make?
Mixed as paint, yellow and purple make a brown. Change the ratio, switch to light or CSS mixing, and copy the result.
Yellow and purple make brown
Mixed as paint, yellow and purple make a brown (#B9893B). As light on a screen, they make a tan (#FFCC9B), and blended in CSS with OKLCH they give a red (#EB5B66).
brown
#B9893B
As paint
Pigments absorb light, so every color you add takes some away. This is what you get on a palette or canvas.
tan
#FFCC9B
As light
Colored lights add up, as on a screen or stage. Mixes get brighter, not darker.
red
#EB5B66
In CSS (OKLCH)
What color-mix(in oklch, …) returns for an even mix in the browser.
Mixing yellow and purple in different ratios
The ratio decides which color leads. These are paint mixes, measured in equal-sized parts.
3:1 · #D3A82F
3 yellow : 1 purple, yellow
2:1 · #CB9D34
2 yellow : 1 purple, yellow
1:1 · #B9893B
1 yellow : 1 purple, brown
1:2 · #A67542
1 yellow : 2 purple, brown
1:3 · #9A6A45
1 yellow : 3 purple, brown
Making the mix lighter or darker
Add white for tints and black for shades. Each step adds 20% more of it to the even yellow and purple mix.
With white
#CAA151
20%
#D6B468
40%
#E0C682
60%
#EBD9A3
80%
With black
#9B7D3C
20%
#806F3C
40%
#655D3A
60%
#464331
80%
Need a full scale for a UI instead? The shade generator builds evenly spaced, accessible shades from any color.
More mixes with yellow
More mixes with purple
Mixing yellow and purple FAQ
Mixed as paint, yellow and purple make a brown (#B9893B). As light on a screen, they make a tan (#FFCC9B), and blended in CSS with OKLCH they give a red (#EB5B66).
Light adds up instead of absorbing, so yellow and purple light make a tan (#FFCC9B). That is why screens can show bright yellows from red and green light, while the same paints would turn brown.
Change the ratio. Three parts yellow to one part purple gives a yellow (#D3A82F), while one part yellow to three parts purple gives a brown (#9A6A45). To lighten the result add white, and to darken it add a little black.
Use color-mix(in oklch, #FCD200 50%, #6B2FA3 50%), which gives #EB5B66. OKLCH keeps the middle of the mix bright, while mixing in sRGB tends to turn it gray.