They are both good Processors. However, the Processor is probably the most crucial part of the computer, and if you use a lot of intense graphics (video editing, intense gaming, etc.), then the same concept would probably go for the Graphics Card as well.
But keep in mind, you do not want your Processor and Graphics Card to greatly outperform your other components like the Hard Drive or RAM. This could cause bottle necking on your machine as a whole (which means that while your Processor and Graphics Card are able to perform their tasks with ease, the Hard Drive and RAM are not able to keep up with them. So, with that being said, the Graphics Card and the Processor will NOT be able to perform at their peak performance because the Hard Drive and/or the RAM will be holding them back, even if they [the Processor and the Graphics Card] are top-notch components). So, I would say that whatever your budget allows, do not overspend on one item, but distribute the quality equally among the RAM, Hard Drive, Processor, and the Graphics Card.
Of course, also have a motherboard which is able to support the features you want (it doesn't have to be too expensive, but make sure it supports the amount of RAM you want and the RAM MHz [e.g. 1333, 1600] as well as other features you want to incorporate into your machine). Make sure the motherboard (like all other parts) has a good rating from previous users and read what they had to say about it, especially the ones who gave the item a bad rating (sometimes these reasons are absurd).
Also, do get a good rated PSU (Power Supply), and again, this probably does not have to be too expensive either, but it is still a part of the computer which should not be taken for granted because you want to protect your computer's components. For your machine, which has a good Processor and a good Graphics Card, you should probably get a Power Supply that is at least 600W (maybe even more), I would say. And again, make sure it has a good rating from previous customers.
Hope this helps, and anyone, please correct me if I have stated any misinformation.