The quick brown fox jumps over the lazy dog

Contrast Ratio

5.38

to 1

AA NormalPASS
AAA NormalFAIL
AA LargePASS
AAA LargePASS

Color Details

Text Color

White

#fffffftext-white

Background Color

Purple 600

#9333eabg-purple-600

WCAG Compliance

CriterionMin RatioResult
Normal Text AA4.5:1PASS
Normal Text AAA7:1FAIL
Large Text AA3:1PASS
Large Text AAA4.5:1PASS

Code Examples

Tailwind CSShtml
<!-- Text color: text-white -->
<!-- Background: bg-purple-600 -->
<div class="bg-purple-600 p-6 rounded-lg">
  <p class="text-white">
    Your accessible text here
  </p>
</div>
Plain CSScss
/* Text: #ffffff on Background: #9333ea */
.accessible-container {
  background-color: #9333ea;
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 0.5rem;
}

Use Cases

  • Primary button text
  • Card headers on Purple 600 backgrounds

Accessible Alternatives

Aa
text-white15.00:1

bg-purple-950

Aa
text-white10.88:1

bg-purple-900

Aa
text-white8.72:1

bg-purple-800

Frequently Asked Questions

Is white text on purple 600 accessible?
Yes, this combination passes WCAG AA with a contrast ratio of 5.38:1, meeting the minimum 4.5:1 requirement for normal text.
What is the contrast ratio of white on purple 600?
The contrast ratio is 5.38:1. WCAG AA requires at least 4.5:1 for normal text and 3:1 for large text. WCAG AAA requires 7:1 for normal text and 4.5:1 for large text.

Related Color Pairs

Check Your Own Color Pair

Use our free contrast checker to test any combination of text and background colors.

Open Contrast Checker