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

Shades#

Palette table#

ShadeClass fragmentValueBest role
50violet-50#f5f3ffLightest tint — page backgrounds, subtle fills, hover backgrounds for rows and list items.
100violet-100#ede9feVery light — section backgrounds, badges on light UI, tinted code blocks.
200violet-200#ddd6feLight — borders on light themes, dividers with personality, chip backgrounds.
300violet-300#c4b5fdSoft — secondary borders, disabled states with color, placeholder decorations.
400violet-400#a78bfaMedium-light — icons on dark surfaces, decorative accents, chart lines.
500violet-500#8b5cf6The primary step — buttons, links, brand fills, key interactive elements.
600violet-600#7c3aedHover step — hover states for 500 elements, or primary on very light UIs.
700violet-700#6d28d9Active step — pressed states, emphasized text on light tinted backgrounds.
800violet-800#5b21b6Dark — text on light palettes, headers in tinted sections, dark UI fills.
900violet-900#4c1d95Very dark — deep section backgrounds, high-contrast text carriers.
950violet-950#2e1065Darkest — 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