Tailwind Purple 200

purple-200 · #E9D5FF · rgb(233, 213, 255)

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

HEX#E9D5FF
RGBrgb(233, 213, 255)
HSLhsl(269, 100%, 92%)
CMYKcmyk(9%, 16%, 0%, 0%)
CSS variable (v4)var(--color-purple-200)
Color nameLavender (closest)

Classes

bg-purple-200
text-purple-200
border-purple-200
ring-purple-200
from-purple-200 via-purple-200 to-purple-200
bg-purple-200/50   /* 50% opacity */
White text · 1.36:1 · fails
Black text · 15.43:1 · AAA
text-purple-700 · 5.13:1 · AA

Check contrast with any color →

Tailwind purple-200: questions & answers

What is the HEX code of Tailwind purple-200?

Tailwind purple-200 is #E9D5FF, which is rgb(233, 213, 255) or hsl(269, 100%, 92%).

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

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

What text color works on bg-purple-200?

purple-700 (#7E22CE) is the closest shade of the same color with readable contrast (5.13:1). Plain black text gives 15.43:1.