Tailwind Violet 100

violet-100 · #EDE9FE · rgb(237, 233, 254)

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

HEX#EDE9FE
RGBrgb(237, 233, 254)
HSLhsl(251, 91%, 95%)
CMYKcmyk(7%, 8%, 0%, 0%)
CSS variable (v4)var(--color-violet-100)
Color nameLavender (closest)

Classes

bg-violet-100
text-violet-100
border-violet-100
ring-violet-100
from-violet-100 via-violet-100 to-violet-100
bg-violet-100/50   /* 50% opacity */
White text · 1.19:1 · fails
Black text · 17.69:1 · AAA
text-violet-600 · 4.8:1 · AA

Check contrast with any color →

Tailwind violet-100: questions & answers

What is the HEX code of Tailwind violet-100?

Tailwind violet-100 is #EDE9FE, which is rgb(237, 233, 254) or hsl(251, 91%, 95%).

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

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

What text color works on bg-violet-100?

violet-600 (#7C3AED) is the closest shade of the same color with readable contrast (4.8:1). Plain black text gives 17.69:1.