Violet is one of the color families shipped with this release. Royal purple — creativity and premium feel..

Shades#

Palette table#

ShadeClass fragmentValueBest role
100violet-100#f5f3ffVery light — section backgrounds, badges on light UI, tinted code blocks.
200violet-200#ede9feLight — borders on light themes, dividers with personality, chip backgrounds.
300violet-300#ddd6feSoft — secondary borders, disabled states with color, placeholder decorations.
400violet-400#c4b5fdMedium-light — icons on dark surfaces, decorative accents, chart lines.
500violet-500#a78bfaThe primary step — buttons, links, brand fills, key interactive elements.
600violet-600#8b5cf6Hover step — hover states for 500 elements, or primary on very light UIs.
700violet-700#7c3aedActive step — pressed states, emphasized text on light tinted backgrounds.
800violet-800#6d28d9Dark — text on light palettes, headers in tinted sections, dark UI fills.
900violet-900#5b21b6Very dark — deep section backgrounds, high-contrast text carriers.
950violet-950#4c1d95Darkest — near-black tinted backgrounds, hero surfaces, footer tones.

Use it#

html
<div class="bg-violet-500 text-white p-6 rounded-xl">Violet surface</div>
<p class="text-violet-600 dark:text-violet-400">Adaptive text</p>
<div class="border border-violet-200 dark:border-violet-800 bg-violet-50 dark:bg-violet-950 p-4 rounded-lg">Panel</div>

Per-usage guides#

Contrast#

Flip point: shades 50–400 want dark text (text-slate-900); shades 500+ (approx.) want white text. Verify with the accessibility/color-contrast|contrast guide.

colors/indigo|indigo · colors/purple|purple · colors/color-pairing|Pairing recipes