The purple pill commonly refers to Viagra, which contains the active ingredient Sildenafil. It's a well-known medication used to treat erectile dysfunction (ED). Viagra tablets are often blue and diamond-shaped, but sometimes people refer to different formulations or dosages colloquially, which could lead to confusion about color. Its effects usually last for about 4 to 6 hours.