Rxlist.com is a great source for identifying pills. But it is a couple of years behind. And, of course, it doesn't cover all meds.
I could find neither pill on rxlist. I found Kadian but not the purple cap. So it's sometimes easier to go to the source or a database with lots of pics like drugs.com, BlueCrossBlueShield or Walgreens when you know the med.