#A78BFA — Tints, Shades & Color Values
#A78BFA is a light, vivid violet. In Tailwind CSS this exact color is the utility class violet-400 (e.g. bg-violet-400, text-violet-400). Its nearest CSS named color is mediumpurple (#9370db). For readable text on a #A78BFA background, black text gives the strongest contrast (7.72:1). Because it is so light, #A78BFA works best as a background or surface color paired with dark text, or as a high-percentage tint in an existing palette.
Color Values
| Hex | #A78BFA |
|---|---|
| RGB | rgb(167, 139, 250) |
| HSL | hsl(255, 92%, 76%) |
| HSV / HSB | 255°, 44%, 98% |
| Nearest named | mediumpurple (#9370db) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#A78BFA in Tailwind CSS (violet-400)
#A78BFA ships with Tailwind CSS as violet-400 — use it as bg-violet-400, text-violet-400, or border-violet-400. It sits at step 400 of the violet 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 #A78BFA (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
#b097fb -
20% tint
#b9a2fb -
30% tint
#c1aefc -
40% tint
#cab9fc -
50% tint
#d3c5fd -
60% tint
#dcd1fd -
70% tint
#e5dcfe -
80% tint
#ede8fe -
90% tint
#f6f3ff
Shades of #A78BFA (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#967de1 -
20% shade
#866fc8 -
30% shade
#7561af -
40% shade
#645396 -
50% shade
#54467d -
60% shade
#433864 -
70% shade
#322a4b -
80% shade
#211c32 -
90% shade
#110e19
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #A78BFA 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 2.72:1 — AA normal: Fail · AA large: Fail · AAA: Fail |
|---|---|
| Black text 7.72:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
If neither pure white nor pure black reaches the level you need, pick a darker shade of #A78BFA 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: #C084FC (purple-400), #D8B4FE (purple-300), #A855F7 (purple-500), #F5D0FE (fuchsia-200), #E9D5FF (purple-200), #F3E8FF (purple-100).
Frequently Asked Questions
-
What color is #A78BFA?
#A78BFA is a light, vivid violet —
rgb(167, 139, 250). Its nearest CSS named color ismediumpurple. In Tailwind CSS it isviolet-400. -
How do I make tints and shades of #A78BFA?
Mix #A78BFA with white for tints and with black for shades. A 20% tint of #A78BFA is
#b9a2fband a 20% shade is#866fc8— the full 10%–90% ramps are precomputed on this page, or open #A78BFA in the generator for finer steps. -
What text color is readable on #A78BFA?
Black text gives the strongest contrast on a #A78BFA background at 7.72:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #A78BFA?
violet-400— use it asbg-violet-400,text-violet-400, orborder-violet-400. The full violet 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#A78BFA? Put it on a free link-in-bio page →