The name comes from the flower of the lavender plant . Although different parts of the lavender flower are various shades of lavender , the color displayed at right matches a pixel that from the sample that is a medium shade ( not extremely dark or extremely light ) of all the pixels in the photograph of the lavender flower in the Wikipedia article on the lavender plant .