Webflow variables, explained
Instead of typing the same purple hex code into fifty classes, you create a variable called brand purple and point the classes at it. Later, if the brand changes, you edit one value.
Variables can hold colours, sizes, font families and percentages. You group them into collections, and modes let one collection hold different values, for example a light and a dark theme.
They are Webflow's version of design tokens. When a Figma file uses variables for colour and spacing, we can mirror them in Webflow so designers and developers speak the same language.
Variables make sites easier to maintain and safer to edit. They also help with accessibility work, because fixing a low contrast colour is one change instead of a hunt through every style.



