In the Ramayana, Ravana's palace in Lanka was built by the divine architect Maya (also known as Mayasura). Maya was a master architect and builder who constructed magnificent palaces for various demons and asuras. Viswakarma was another divine architect but primarily associated with the gods. Khara and Mareecha were demons, not architects.