Tailwind Fuchsia 400

fuchsia-400 · #E879F9 · rgb(232, 121, 249)

fuchsia-400 is a light vivid purple from the Tailwind CSS default palette, hex code #E879F9.

HEX#E879F9
RGBrgb(232, 121, 249)
HSLhsl(292, 91%, 73%)
CMYKcmyk(7%, 51%, 0%, 2%)
CSS variable (v4)var(--color-fuchsia-400)
Color nameViolet (closest)

Classes

bg-fuchsia-400
text-fuchsia-400
border-fuchsia-400
ring-fuchsia-400
from-fuchsia-400 via-fuchsia-400 to-fuchsia-400
bg-fuchsia-400/50   /* 50% opacity */
White text · 2.46:1 · fails
Black text · 8.53:1 · AAA
text-fuchsia-950 · 6.02:1 · AA

Check contrast with any color →

Tailwind fuchsia-400: questions & answers

What is the HEX code of Tailwind fuchsia-400?

Tailwind fuchsia-400 is #E879F9, which is rgb(232, 121, 249) or hsl(292, 91%, 73%).

How do I use fuchsia-400 as a background in Tailwind?

Add the class bg-fuchsia-400 to the element. Use text-fuchsia-400 for text and border-fuchsia-400 for borders.

What text color works on bg-fuchsia-400?

fuchsia-950 (#4A044E) is the closest shade of the same color with readable contrast (6.02:1). Plain black text gives 8.53:1.