hit upon
phrasal verbhit on/upon something
- [no passive] (rather informal) to think of a good idea suddenly or by chance
- She hit on the perfect title for her new novel.
Definition of hit upon phrasal verb from the Oxford Advanced Learner's Dictionary