if it's an O/B class star, a planet like that may not be able to form in the first place (Unless you're not going for full on realism, then continue) I recommend you place it around an A type star at the very least, those stars are likely the maximum size for a star, before it becomes impossible for planets to form, although, regardless of how far the planet is from the star, it's likely a pretty hot place.