Indigo on Lavender: Contrast Check

Indigo (#4B0082) on lavender (#E6E6FA) has a 10.52:1 contrast ratio. It passes AA for normal text.

Your colors

rgb(75, 0, 130)

rgb(230, 230, 250)

Use HEX, RGB, HSL or a CSS color name, without transparency.

Text preview

Skip preview

Normal text · 16 px

This is how your text will look.

Large text · 32 px

A little contrast matters.

Large text: at least 18 pt regular or 14 pt bold.

10.52:1

Text contrast ratio

Meets AA for normal text.

AA · Normal text

4.5:1 required

Pass

AA · Large text

3:1 required

Pass

AAA · Normal text

7:1 required

Pass

AAA · Large text

4.5:1 required

Pass

Pass or fail uses the unrounded ratio.

WCAG 2.2 · SC 1.4.3 and 1.4.6 · Opaque sRGB text pairs

Large text: at least 18 pt regular or 14 pt bold.

View calculation

Foreground luminance: 0.031075614863369856. Background luminance: 0.8031875051452129. Ratio = (lighter + 0.05) / (darker + 0.05) = 10.523355346524603. Thresholds use this unrounded value.

Open in palette builder →

Supported color inputs and errors →

Using indigo on lavender

Indigo gives a lavender panel a deep violet text color. Try the pair with a real paragraph as well as a title before using it in a reading layout.

WCAG text contrast results

Text criterionRequired ratioResult
AA normal text4.5:1Pass
AA large text3:1Pass
AAA normal text7:1Pass
AAA large text4.5:1Pass

This pair passes AA for normal text. It also passes AAA for normal text. The displayed ratio is rounded to two decimal places; every decision uses the full calculation.

Choose the result for your text size

A 16 px regular label uses the normal-text result. A 24 px regular heading qualifies as large text. Match the result to the size and weight used in your design. If a small label fails, try a different color before making the label larger.

.pair-example {
  color: #4B0082;
  background-color: #E6E6FA;
  font-size: 16px;
}

Try the reverse pair

Use Swap colors to put lavender text on indigo. The ratio remains 10.52:1, but the page can feel very different when most of it becomes indigo. Check the new arrangement with real text and the surrounding layout.

Sources and further reading