You can tile right up to the edge of the hole. When properly mounted the underside of the closet flange should sit flush with the finish floor and the top of the flange will now be approx 3/8" above the finish floor..
The plumbing code prohibits the top of the closet ring being flush with or recessed below the finished floor.
.see illustration below
