Tailwind Purple 50

purple-50 · #FAF5FF · rgb(250, 245, 255)

purple-50 is a very light vivid white from the Tailwind CSS default palette, hex code #FAF5FF.

HEX#FAF5FF
RGBrgb(250, 245, 255)
HSLhsl(270, 100%, 98%)
CMYKcmyk(2%, 4%, 0%, 0%)
CSS variable (v4)var(--color-purple-50)
Color nameGhost White (closest)

Classes

bg-purple-50
text-purple-50
border-purple-50
ring-purple-50
from-purple-50 via-purple-50 to-purple-50
bg-purple-50/50   /* 50% opacity */
White text · 1.07:1 · fails
Black text · 19.57:1 · AAA
text-purple-600 · 5.02:1 · AA

Check contrast with any color →

Tailwind purple-50: questions & answers

What is the HEX code of Tailwind purple-50?

Tailwind purple-50 is #FAF5FF, which is rgb(250, 245, 255) or hsl(270, 100%, 98%).

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

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

What text color works on bg-purple-50?

purple-600 (#9333EA) is the closest shade of the same color with readable contrast (5.02:1). Plain black text gives 19.57:1.