Does anyone know what this plant is, it was purchased at a garden center with no label. It has fragrant leaves when you rub them, purple flowers. It kind of reminds me of rosemary. Also is this a perennial or annual
Without knowing your location it is not possible to say if it will survive winter in your gardening zone.
I'm located in Southern Ontario Canada, I think it was purchased at a Costco garden center Also I was surprised it's lavender because the smell didn't remind me of lavender at all. At least not very much like the commercial lavebdar used to fragrance products
According to information on the Net Lavandula stoechas is winter hardy in USDA plant hardiness zones 7 and above. Here is Ontario Interactive Plant Hardiness Zone Map where you can find in which zone you are in. In zones slightly below 7 it may survive milder winters, too.
Two points about hardiness zone designations. First, in practice the lowest zone indicated for a plant will tend to be where it is on the border of hardiness. Which in practical terms means part of the time it will be damaged within that zone. Second, there is a widespread tendency to not assign the correct zones, to rate plants too highly. Because of a misunderstanding of what the USDA zones stand for. So for instance in the case of giving USDA 7 for Lavandula stoechas it might be that it has been seen to burn at 10 degrees F. With a conclusion being reached therefore that the plant is "hardy to USDA 7". Because the temperature spread given by the USDA for Zone 7 is 0-10 degrees F. Never mind that that spread indicates the average annual minimum temperature range for Zone 7. Which means that some years it will be below 0 in some Zone 7 locations. In other words well below 10 degrees.