Text usage for the colors/violet|violet palette — the shades that earn their place.

ShadeUse it for
100–300Headlines on dark surfaces
400–500Secondary text on dark
600–700Body text on light surfaces
800–900Headings on light surfaces

Example#

html
<p class="text-violet-700 dark:text-violet-300">Adaptive copy</p>
<a class="text-violet-600 hover:text-violet-500 underline">A link</a>

Dark mode#

On dark surfaces, shift two shades lighter: text-violet-600 in light mode becomes dark:text-violet-400.

colors/violet|Violet hub · colors/index|Color system