Tailwind Purple 600

purple-600 · #9333EA · rgb(147, 51, 234)

purple-600 is a medium vivid violet from the Tailwind CSS default palette, hex code #9333EA.

HEX#9333EA
RGBrgb(147, 51, 234)
HSLhsl(271, 81%, 56%)
CMYKcmyk(37%, 78%, 0%, 8%)
CSS variable (v4)var(--color-purple-600)
Color nameBlue Violet (closest)

Classes

bg-purple-600
text-purple-600
border-purple-600
ring-purple-600
from-purple-600 via-purple-600 to-purple-600
bg-purple-600/50   /* 50% opacity */
White text · 5.38:1 · AA
Black text · 3.9:1 · AA (large text only)
text-purple-100 · 4.56:1 · AA

Check contrast with any color →

Tailwind purple-600: questions & answers

What is the HEX code of Tailwind purple-600?

Tailwind purple-600 is #9333EA, which is rgb(147, 51, 234) or hsl(271, 81%, 56%).

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

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

What text color works on bg-purple-600?

purple-100 (#F3E8FF) is the closest shade of the same color with readable contrast (4.56:1). Plain white text gives 5.38:1.