purple-700
#8200dbTailwind CSS v4.3.3 purple-700 is oklch(49.6% 0.265 301.924) in OKLCH, the format Tailwind uses, and #8200db in HEX.
- Class
- OKLCH
- HEX
- RGB
- HSL
- CSS
Classes
Click to copy. Add /50 for 50% opacity, for example bg-purple-700/50.
Text on purple-700
- Aawhite7.07:1Readable · AA
- Aablack2.97:1Hard to read
- Aapurple-506.6:1Readable · AA
Most readable text from the purple scale: purple-50
Tailwind purple scale
Step 700 in other Tailwind colors
Questions and answers
What is the hex code of Tailwind purple-700?
purple-700 is #8200db in HEX, rgb(130 0 219) in RGB and oklch(49.6% 0.265 301.924) in OKLCH. Tailwind CSS v4.3.3 defines its colors in OKLCH, so the HEX value is the closest sRGB match.
Is Tailwind purple-700 accessible for text?
White text on purple-700 has a contrast ratio of 7.07:1 and black text 2.97:1. WCAG AA needs 4.5:1 for normal text and 3:1 for large text, so white text is the better choice here.
How do I use purple-700 in Tailwind CSS?
Add bg-purple-700, text-purple-700 or border-purple-700 to an element. In your own CSS use var(--color-purple-700), the CSS variable Tailwind v4 creates for every color.