purple-100
#f3e8ffTailwind CSS v4.3.3 purple-100 is oklch(94.6% 0.033 307.174) in OKLCH, the format Tailwind uses, and #f3e8ff in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-purple-100/50.
Text on purple-100
- Aawhite1.18:1Hard to read
- Aablack17.77:1Readable · AA
- Aapurple-95012.72:1Readable · AA
Most readable text from the purple scale: purple-950
Tailwind purple scale
Step 100 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind purple-100?
purple-100 is #f3e8ff in HEX, rgb(243 232 255) in RGB and oklch(94.6% 0.033 307.174) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind purple-100 accessible for text?
White text on purple-100 has a contrast ratio of 1.18:1 and black text 17.77:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so black text is the better choice here.
How do I use purple-100 in Tailwind CSS?
Add bg-purple-100, text-purple-100 or border-purple-100 to an element. In your own CSS use var(--color-purple-100), the CSS variable Tailwind v4 creates for every color.