Tailwind Violet
All 11 shades with hex codes — and, for each one, whether you can actually put text on it.
violet-600
lightest shade that passes AA for body text on white — 5.70:1
Body copy at 5.70:1
✓ violet-500 clears 3:1 for borders and icons on white
✓ violet-500 is the darkest that passes AA on black
Every shade links to its full contrast report on white.
Shades, hex codes and contrast
| Shade | Hex | On white | On black | APCA Lc | Body text on white |
|---|---|---|---|---|---|
violet-50 |
#F5F3FF |
1.10:1 | 19.15:1 | 0 | ✕ fails |
violet-100 |
#EDE9FE |
1.19:1 | 17.69:1 | 8 | ✕ fails |
violet-200 |
#DDD6FE |
1.39:1 | 15.12:1 | 18 | ✕ fails |
violet-300 |
#C4B5FD |
1.85:1 | 11.38:1 | 33 | ✕ fails |
violet-400 |
#A78BFA |
2.72:1 | 7.72:1 | 50 | ✕ fails |
violet-500 |
#8B5CF6 |
4.23:1 | 4.96:1 | 66 | ✕ large text only |
violet-600 |
#7C3AED |
5.70:1 | 3.69:1 | 75 | ✓ AA |
violet-700 |
#6D28D9 |
7.10:1 | 2.96:1 | 81 | ✓ AAA |
violet-800 |
#5B21B6 |
8.98:1 | 2.34:1 | 87 | ✓ AAA |
violet-900 |
#4C1D95 |
10.95:1 | 1.92:1 | 92 | ✓ AAA |
violet-950 |
#2E1065 |
15.24:1 | 1.38:1 | 99 | ✓ AAA |
How to read this
- 4.5:1 is the WCAG 2.2 minimum for body text (1.4.3). 7:1 is AAA.
- 3:1 is the minimum for large text and for non-text things you have to see — borders, icons, focus rings (1.4.11).
- APCA Lc is a perceptual model that weights dark-on-light differently from light-on-dark. It disagrees with the ratio often enough to be worth reading; Lc 60 is roughly body-text territory, Lc 75 comfortable.
- Tailwind's violet sits closest to the colour name Amethyst at its 500 stop.
Other Tailwind colours
Slate
#64748B
Gray
#6B7280
Zinc
#71717A
Neutral
#737373
Stone
#78716C
Red
#EF4444
Orange
#F97316
Amber
#F59E0B
Yellow
#EAB308
Lime
#84CC16
Green
#22C55E
Emerald
#10B981
Teal
#14B8A6
Cyan
#06B6D4
Sky
#0EA5E9
Blue
#3B82F6
Indigo
#6366F1
Purple
#A855F7
Fuchsia
#D946EF
Pink
#EC4899
Rose
#F43F5E
Need a violet that is yours, not Tailwind's
Paste a brand hex and get an 11-stop OKLCH ramp built around it, with every pairing checked before you ship.
Open ColorsMine