Tailwind Violet

Tailwind CSS's violet hue family — 11 stops from 50 (lightest) to 950 (darkest), forming a vivid violet chromatic scale. Use directly as a brand palette or pair with an accent hue from another tailwind-* atom.

13 swatches 14 light roles 14 dark roles tailwindcoolchromatic

Swatches

violet-50
#F5F3FF
Lightest stop — page background in light mode.
violet-100
#EDE9FE
Very light surface — cards and panels on light background.
violet-200
#DDD6FF
Light divider, hairline, or subtle fill.
violet-300
#C4B4FF
Muted accent or disabled-state foreground in light mode.
violet-400
#A684FF
Mid-light tint — soft accent, hover wash, decorative fill.
violet-500
#8E51FF
Mid stop — the canonical brand hue for chromatic palettes.
violet-600
#7F22FE
Mid-dark stop — primary action in light mode for chromatic palettes.
violet-700
#7008E7
Dark stop — pressed states, deeper emphasis.
violet-800
#5D0EC0
Very dark stop — heavy emphasis, secondary text on light.
violet-900
#4D179A
Near-darkest stop — body text on light, surface on dark.
violet-950
#2F0D68
Darkest stop — page background in dark mode.
pure-white
#FFFFFF
Maximum-elevation surface and high-contrast text in dark mode.
pure-black
#000000
High-contrast text on light chromatic hues where the deepest stop reads as the hue, not black.

Mode role mappings

Light mode (14 roles)

accent → violet-700
accent-hover → violet-600
background → violet-50
error → violet-700
primary → violet-500
primary-hover → violet-600
success → violet-600
surface → violet-100
surface-elevated → pure-white
text-primary → violet-900
text-secondary → violet-800
text-tertiary → violet-600
warning → violet-300
warning-hover → violet-400

Dark mode (14 roles)

accent → violet-300
accent-hover → violet-200
background → violet-950
error → violet-300
primary → violet-400
primary-hover → violet-300
success → violet-400
surface → violet-900
surface-elevated → violet-800
text-primary → violet-50
text-secondary → violet-200
text-tertiary → violet-400
warning → violet-600
warning-hover → violet-500

Provenance

Source
https://tailwindcss.com/docs/colors
License
MIT
Attribution
Tailwind CSS colors, Copyright Tailwind Labs Inc., MIT licensed. Hex values derived from canonical OKLCH definitions in packages/tailwindcss/theme.css via the W3C CSS Color Module Level 4 OKLCH → sRGB conversion.
Imported
2026-05-17 (upstream version 4.3.0)