What Iliah said. In addition, scanners use spiky LEDs. I'm attaching a spectrum plot of my Epson V600 flatbed scanner's illuminant LED. It has a sharp spike in the blues, similar to the LEDs in cheap LED flashlights. It also has a CRI of 64, which is pretty low.
Proper spectrometers usually use a tungsten illuminant which illuminates the visible spectrum much smoother than a spiky LED can. If you don't want to go for the Spectroscan that Iliah recommended, consider either a
ColorMunki Design or a
ColorMunki Photo. The ColorMunki Photo is a bit more expensive but comes with a ColorChecker mini target. ColorMunki Design doesn't come with a target.
You can either use the bundled XRite software, or use ArgyllCMS (that is currently being discussed in several threads in this forum.) Both of these ColorMunkis are real spectrometers. Beware though: X-Rite sells other ColorMunkis that are only colorimeters and can't be used to profile printers. Stick to either ColorMunki Design or ColorMunki Photo.
Wayne
(Click on the image to make it large enough to see the spectral plot.)