Inverted mask from AI path

  1. Create a background layer in the desired color
  2. Select the paths that should form the mask and create a compound path
  3. Expand the transparency window
  4. Open the options menu and make sure ‘new opacity masks are inverted’ is selected
  5. In the same menu choose ‘make opacity mask’