That's the ultimate goal every time out, isn't it? To blend quality with mass-consumption? I mean, as far as I know (granted, I don't know much, but work with me), the point is never to completely loose your audience, right?
I've got some songs which I KNOW will never make it up any chart. They just aren't set up that way. But it all depends on what you're trying to bring across...
I'd never write a song about hemispheric economic inequity and expect it to go anywhere on Billboard, just because to put a heavy topic on light music would make it self-destruct.
Then again, I don't think all party songs are necessarily shit. If the goal is to get people dancing, it can definitely be light and good... ok, so I don't have any examples in mind right now, but trust me on this... Oh, yeah, Lauryn Hill has some great material which did make no.1.
Balance is the key. Not overstepping the boundaries between topic and melody. I've made the mistake and man, the final result was nasty.