Acute Lymphoblastic Leukemia (ALL), a rapidly progressing malignancy originating from hematopoietic cells, necessitates prompt and precise diagnosis due to its potential lethality within a short span of months. Technological advancements are therefore pivotal in aiding medical practitioners to reduce the probability of human error, expedite diagnosis and subsequently, improve patient outcomes. This study presents a novel system leveraging Convolutional Neural Networks (CNNs), capable of diagnosing ALL through image analysis of affected cells. Our proposed system employs two well-established CNN architectures, VGG16 and ResNet50, coupled with two optimization algorithms, Adam and RMSprop, to classify image data into two distinct categories. The utilized dataset, C-NMC Leukemia 2019, was subjected to a variety of test scenarios involving differing epoch variations (10, 20, 30, 40, 50, 60, 80, and 100) and a consistent learning rate of 0.0001. The results suggest that the proposed system exhibits superior performance when utilizing the VGG16 architecture in conjunction with the Adam optimizer, achieving a training accuracy of 93.80% and a testing accuracy of 87.00%. The findings of this study accentuate the potential of integrating deep learning techniques into the diagnostic process of ALL, thereby facilitating rapid, precise detection and ultimately contributing to the improvement of patient prognosis.