Color specimenNo. 11032055

#A855F7

Vivid Violet

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

RGB
168, 85, 247
HSL
271°, 91%, 65%
Text
Black on top

Tailwind CSS · purple

tailwind · purple 500

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

Scale context · purple

Click any step to jump to its landing page.

Class name
purple-500
Hex
#A855F7
Closest CSS named color
mediumorchid
Full color breakdown
/color/a855f7

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 #A855F7 as the text color.

3.96:1
AA failAAA failLarge pass

Rating · AA Large

On black

The quick brown fox

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

5.31:1
AA passAAA failLarge pass

Rating · AA

Recommendation

When using #A855F7 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 purple