Shortwave spectrum is a main wave band of phototactic trapping agricultural insect-pests. Based on the phototactic sensitivity of agricultural insect pests, the shortwave spectrum character of purple, blue and green LEDs is analyzed by means of the fiber optical spectro-meter, and the compsite LEDs as the trapping light of insect pests are constitued by modifying the proportion of purple, blue, and green in the composite LED light. The phototactic trapping effect of insect pests reaches a optimizing level when the proportion of purple, blue and green LEDs is 2:8:4 in the light. Utilizing the sectional type and straight line type manners, the composite LED lights of two constructed types are fabricated, further the pest-trapping lamp is constituted by assembling electrical parts and mechanical units.. The phototactic trapping test of pests in the orchard verify the effectivity of composite LED light in the control of agricultural pests.