No, it's not illegal to engage in recruiting efforts aimed at diverse candidates. Many large companies have programs to specifically to recruit historically under-represented candidates: http://www.google.com/intl/en/jobs/students/sga/undergrad/in...