Tailwind Violet 200

violet-200 · #DDD6FE · rgb(221, 214, 254)

violet-200 is a very light vivid blue from the Tailwind CSS default palette, hex code #DDD6FE.

HEX#DDD6FE
RGBrgb(221, 214, 254)
HSLhsl(251, 95%, 92%)
CMYKcmyk(13%, 16%, 0%, 0%)
CSS variable (v4)var(--color-violet-200)
Color nameLavender (closest)

Classes

bg-violet-200
text-violet-200
border-violet-200
ring-violet-200
from-violet-200 via-violet-200 to-violet-200
bg-violet-200/50   /* 50% opacity */
White text · 1.39:1 · fails
Black text · 15.12:1 · AAA
text-violet-700 · 5.12:1 · AA

Check contrast with any color →

Tailwind violet-200: questions & answers

What is the HEX code of Tailwind violet-200?

Tailwind violet-200 is #DDD6FE, which is rgb(221, 214, 254) or hsl(251, 95%, 92%).

How do I use violet-200 as a background in Tailwind?

Add the class bg-violet-200 to the element. Use text-violet-200 for text and border-violet-200 for borders.

What text color works on bg-violet-200?

violet-700 (#6D28D9) is the closest shade of the same color with readable contrast (5.12:1). Plain black text gives 15.12:1.