Sotomayor is a name from Spanish origins. Her parents are white. You can google the pictures.
Just about everyone from Puerto Rico has a Spanish surname, no matter their skin color.
I googled Sotomayor’s parents - mother looks like she has a touch of African ancestry, less than her daughter but so what?
The reason “Hispanics” get affirmative action is because so many of them have African or Amerindian ancestry.