#7E22CE — Tints, Shades & Color Values

#7E22CE

#7E22CE is a medium, vivid violet. In Tailwind CSS this exact color is the utility class purple-700 (e.g. bg-purple-700, text-purple-700). Its nearest CSS named color is blueviolet (#8a2be2). For readable text on a #7E22CE background, white text gives the strongest contrast (6.98:1). #7E22CE sits in the middle of the lightness range, so it can serve as a primary brand or accent color — use its tints for backgrounds and its shades for text and pressed states.

Want to fine-tune this color interactively? Open #7E22CE in the tint & shade generator to explore the full lightness, hue, and chroma scales and copy any step.

Color Values

Hex#7E22CE
RGBrgb(126, 34, 206)
HSLhsl(272, 72%, 47%)
HSV / HSB272°, 83%, 81%
Nearest namedblueviolet (#8a2be2)

Need these in another format? Use our hex to RGB converter for quick two-way conversion.

#7E22CE in Tailwind CSS (purple-700)

#7E22CE ships with Tailwind CSS as purple-700 — use it as bg-purple-700, text-purple-700, or border-purple-700. It sits at step 700 of the purple ramp; every other step links to its own page:

Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.

Tints of #7E22CE (Mixed with White)

Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.

Shades of #7E22CE (Mixed with Black)

Each step blends the base color toward black using new = old × (1 − factor).

WCAG Contrast & Accessibility

Contrast ratios for text placed on a #7E22CE background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).

Text color White text 6.98:1 — AA normal: Pass · AA large: Pass · AAA: Fail
Black text 3.01:1 — AA normal: Fail · AA large: Pass · AAA: Fail

If neither pure white nor pure black reaches the level you need, pick a lighter tint of #7E22CE from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.

More violet colors in the library: #8E44AD, #6D28D9 (violet-700), #5B21B6 (violet-800), #9B59B6, #7C3AED (violet-600), #4C1D95 (violet-900).

Frequently Asked Questions

Browse more colors in the color library, or start from any hex code on the HexTints homepage.

Building a brand around #7E22CE? Put it on a free link-in-bio page →