Purple is one of the color families shipped with this release. Classic purple — imagination and luxury..
Shades#
100200300400500600700800900950
Palette table#
| Shade | Class fragment | Value | Best role |
|---|---|---|---|
100 | purple-100 | #faf5ff | Very light — section backgrounds, badges on light UI, tinted code blocks. |
200 | purple-200 | #f3e8ff | Light — borders on light themes, dividers with personality, chip backgrounds. |
300 | purple-300 | #e9d5ff | Soft — secondary borders, disabled states with color, placeholder decorations. |
400 | purple-400 | #d8b4fe | Medium-light — icons on dark surfaces, decorative accents, chart lines. |
500 | purple-500 | #c084fc | The primary step — buttons, links, brand fills, key interactive elements. |
600 | purple-600 | #a855f7 | Hover step — hover states for 500 elements, or primary on very light UIs. |
700 | purple-700 | #9333ea | Active step — pressed states, emphasized text on light tinted backgrounds. |
800 | purple-800 | #7e22ce | Dark — text on light palettes, headers in tinted sections, dark UI fills. |
900 | purple-900 | #6b21a8 | Very dark — deep section backgrounds, high-contrast text carriers. |
950 | purple-950 | #581c87 | Darkest — near-black tinted backgrounds, hero surfaces, footer tones. |
Use it#
<div class="bg-purple-500 text-white p-6 rounded-xl">Purple surface</div>
<p class="text-purple-600 dark:text-purple-400">Adaptive text</p>
<div class="border border-purple-200 dark:border-purple-800 bg-purple-50 dark:bg-purple-950 p-4 rounded-lg">Panel</div>Per-usage guides#
Purple textstext-purple-* in practice.Purple backgroundsbg-purple-* in practice.Purple bordersborder-purple-* in practice.Purple gradientsfrom-purple-* in practice.
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.
Related palettes#
colors/violet|violet · colors/fuchsia|fuchsia · colors/color-pairing|Pairing recipes
