Color specimenNo. 10980346

#A78BFA

Vivid Light Indigo

A deterministic reference card for #A78BFA. Every value, scheme, and snippet below is computed from the hex — no database, no guesswork.

RGB
167, 139, 250
HSL
255°, 92%, 76%
Text
Black on top

Tailwind CSS · violet

tailwind · violet 400

The Tailwind CSS utility classes bg-violet-400, text-violet-400, and friends all reference this hex value.

Scale context · violet

Click any step to jump to its landing page.

Class name
violet-400
Hex
#A78BFA
Closest CSS named color
mediumpurple
Full color breakdown
/color/a78bfa

Developer snippets

Copy-ready code

Every snippet below is generated from the hex — not a hand-maintained table.

Conversions

Same color, seven encodings

Nearest matches

Closest in other design systems

Accessibility

Contrast against white & black

On white

The quick brown fox

Jumps over the lazy dog. Testing readability of #A78BFA as the text color.

2.72:1
AA failAAA failLarge fail

Rating · Fail

On black

The quick brown fox

Jumps over the lazy dog. Testing readability of #A78BFA as the text color.

7.72:1
AA passAAA passLarge pass

Rating · AAA

Recommendation

When using #A78BFA as a background, pair it with #000000 text for the best WCAG contrast.

Contrast ratios only — one part of WCAG 2.1. Not a certification of accessibility or legal compliance.

Related Tailwind swatches

Other stops in violet