Spanish has two main verbs for to be: ser and estar.
Here, es is used because the sentence is describing a general characteristic of the door: its colour.
In beginner Spanish, ser is normally used for things like:
Using estar with colours can sometimes suggest a temporary state or a special situation, but for a straightforward description of colour, ser is the normal choice.
Because Spanish adjectives usually agree with the noun they describe in gender and number.
Since puerta is:
the adjective must also be:
So:
Compare:
The masculine singular form is morado.
Here are the main forms:
Examples:
Because many Spanish adjectives change form to match the noun.
English says:
with purple staying the same.
Spanish often changes the adjective:
This agreement is a very normal part of Spanish grammar.
Grammatically, Spanish adjectives can sometimes go before the noun, but with colours that is not the normal order.
The usual order is:
And in your sentence, because the adjective comes after es, the structure is:
So for a basic colour description, stick with:
Yes. In Spanish, it is normal to say La puerta es morada with the definite article la.
Spanish often uses articles where English might not focus on them as much. Since you are talking about the door, la is the natural choice.
If you wanted to say a door is purple, you would use:
But for the door is purple, it is: