The quick brown fox jumps over the lazy dog
Contrast Ratio
7.10
to 1
AA NormalPASS
AAA NormalPASS
AA LargePASS
AAA LargePASS
Color Details
Text Color
White
#fffffftext-white
Background Color
Violet 700
#6d28d9bg-violet-700
WCAG Compliance
| Criterion | Min Ratio | Result |
|---|---|---|
| Normal Text AA | 4.5:1 | PASS |
| Normal Text AAA | 7:1 | PASS |
| Large Text AA | 3:1 | PASS |
| Large Text AAA | 4.5:1 | PASS |
Code Examples
Tailwind CSShtml
<!-- Text color: text-white -->
<!-- Background: bg-violet-700 -->
<div class="bg-violet-700 p-6 rounded-lg">
<p class="text-white">
Your accessible text here
</p>
</div>Plain CSScss
/* Text: #ffffff on Background: #6d28d9 */
.accessible-container {
background-color: #6d28d9;
color: #ffffff;
padding: 1.5rem;
border-radius: 0.5rem;
}Use Cases
- Primary button text
- Navigation bar links
- Card headers on Violet 700 backgrounds
Accessible Alternatives
Aa
text-white15.24:1
bg-violet-950
Aa
text-white10.95:1
bg-violet-900
Aa
text-white8.98:1
bg-violet-800
Frequently Asked Questions
Is white text on violet 700 accessible?▼
Yes, this combination passes WCAG AA with a contrast ratio of 7.10:1, meeting the minimum 4.5:1 requirement for normal text.
What is the contrast ratio of white on violet 700?▼
The contrast ratio is 7.10: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.
Does this combination meet WCAG AAA?▼
Yes, with a 7.10:1 contrast ratio, this combination meets the strictest WCAG AAA standard (7:1 minimum), making it excellent for maximum accessibility.
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