#7E22CE — Tints, Shades & Color Values
#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.
Color Values
| Hex | #7E22CE |
|---|---|
| RGB | rgb(126, 34, 206) |
| HSL | hsl(272, 72%, 47%) |
| HSV / HSB | 272°, 83%, 81% |
| Nearest named | blueviolet (#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.
-
10% tint
#8b38d3 -
20% tint
#984ed8 -
30% tint
#a564dd -
40% tint
#b27ae2 -
50% tint
#bf91e7 -
60% tint
#cba7eb -
70% tint
#d8bdf0 -
80% tint
#e5d3f5 -
90% tint
#f2e9fa
Shades of #7E22CE (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#711fb9 -
20% shade
#651ba5 -
30% shade
#581890 -
40% shade
#4c147c -
50% shade
#3f1167 -
60% shade
#320e52 -
70% shade
#260a3e -
80% shade
#190729 -
90% shade
#0d0315
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
-
What color is #7E22CE?
#7E22CE is a medium, vivid violet —
rgb(126, 34, 206). Its nearest CSS named color isblueviolet. In Tailwind CSS it ispurple-700. -
How do I make tints and shades of #7E22CE?
Mix #7E22CE with white for tints and with black for shades. A 20% tint of #7E22CE is
#984ed8and a 20% shade is#651ba5— the full 10%–90% ramps are precomputed on this page, or open #7E22CE in the generator for finer steps. -
What text color is readable on #7E22CE?
White text gives the strongest contrast on a #7E22CE background at 6.98:1, which passes WCAG AA for normal text but not AAA.
-
What is the Tailwind CSS class for #7E22CE?
purple-700— use it asbg-purple-700,text-purple-700, orborder-purple-700. The full purple 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#7E22CE? Put it on a free link-in-bio page →