Tailwind Fuchsia 300

fuchsia-300 · #F0ABFC · rgb(240, 171, 252)

fuchsia-300 is a very light vivid purple from the Tailwind CSS default palette, hex code #F0ABFC.

HEX#F0ABFC
RGBrgb(240, 171, 252)
HSLhsl(291, 93%, 83%)
CMYKcmyk(5%, 32%, 0%, 1%)
CSS variable (v4)var(--color-fuchsia-300)
Color nameMauve (closest)

Classes

bg-fuchsia-300
text-fuchsia-300
border-fuchsia-300
ring-fuchsia-300
from-fuchsia-300 via-fuchsia-300 to-fuchsia-300
bg-fuchsia-300/50   /* 50% opacity */
White text · 1.76:1 · fails
Black text · 11.94:1 · AAA
text-fuchsia-800 · 4.68:1 · AA

Check contrast with any color →

Tailwind fuchsia-300: questions & answers

What is the HEX code of Tailwind fuchsia-300?

Tailwind fuchsia-300 is #F0ABFC, which is rgb(240, 171, 252) or hsl(291, 93%, 83%).

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

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

What text color works on bg-fuchsia-300?

fuchsia-800 (#86198F) is the closest shade of the same color with readable contrast (4.68:1). Plain black text gives 11.94:1.