Three entities, including global venture capital firm Accel, on Friday divested nearly a 5 per cent stake in SaaS company Amagi Media Labs for Rs 587 crore through open market transactions.