Two bilayer metal-organic frameworks (MOFs) respectively containing trinuclear Pb/K and Cd/Na clusters have been solvothermally synthesized. Photoluminescence studies showed that they exhibit tunable purple-to-red-to-green and purple-to-green luminescence behaviours by variation of excitation light, respectively.