Initially, we optimized the conditions using 6-chloropurine (
1a) and mesitylene (
2a) as model substrates, and the results are summarized in
Table 1. At first, we chose commercially available organic dyes for the desired transformation. Using methylene blue or Eosin Y did not provide the desired product (
Table 1, entries 1 and 2). Gratifyingly, the use of 9-mesityl-10-methylacridinium perchlorate (Acr
+–Mes ClO
4–) gave the desired product
3a in 92% yield (
Table 1, entry 3). 9-Mesityl-10-phenylacridinium tetrafluoroborate (Mes–Acr
+–Ph BF
4–) was also tried, but it was less effective (
Table 1, entry 4). Different commonly used photocatalysts were then screened (
Table 1, entries 5–7). To our delight, we found that 2, 4, 6-triphenylpyrylium tetrafluoroborate (TPT) was an efficient photocatalyst providing our C–N coupled product
3a in 92% yield as well. However, because of the relatively low stability of TPT [
27,
28], we chose Acr
+–Mes ClO
4– as the photocatalyst. The subsequent screening of various solvents indicated that this reaction was not effective in polar aprotic solvents (entries 12–14). Increasing or decreasing the catalyst amount was not beneficial (entries 15 and 16). Furthermore, in the absence of air, no target product was detected (entry 17). Additionally, the control experiments indicated that the photocatalyst and visible light are indispensable for this transformation (
Table 1, entries 18 and 19). In the end, the optimal reaction results were obtained using 3 mol% of Acr
+–Mes ClO
4– in 2 mL CH
3CN, under air, at room temperature, and with blue light irradiation (
Table 1, entry 3).