Kerbly

Accessible purple color palette

Creative and premium, and usually good with white text.

Your brand colour

Try an example

What your colour can do

#7c3aed

Sits at step 600 of your scale

  • ✓ PassWhite text on your colour: 5.7:1. Fine for buttons and banners.
  • ✕ FailBlack text on your colour: 3.69:1. Dark text is too faint here.

Your colour scale

Eleven steps from very light to very dark, evenly spaced to the eye. Each tile shows the text colour that reads best on it.

  1. 50

    #f7f5ff

    Black 19.46

  2. 100

    #edeaff

    Black 17.81

  3. 200

    #dcd4ff

    Black 14.9

  4. 300

    #c6b8ff

    Black 11.7

  5. 400

    #ac93ff

    Black 8.37

  6. 500

    #9569ff

    Black 5.74

  7. 600 (your colour)

    #7c3aed

    White 5.7

  8. 700

    #6724cd

    White 7.75

  9. 800

    #5012a4

    White 10.69

  10. 900

    #39047a

    White 14.26

  11. 950

    #21004e

    White 17.88

See the contrast numbers for every step
Contrast ratio of each step on white and on a dark background
StepColourOn whiteOn dark (#111111)
50#f7f5ff1.08:1 ✕17.5:1 ✓ AA
100#edeaff1.18:1 ✕16.02:1 ✓ AA
200#dcd4ff1.41:1 ✕13.4:1 ✓ AA
300#c6b8ff1.79:1 ✕10.52:1 ✓ AA
400#ac93ff2.51:1 ✕7.53:1 ✓ AA
500#9569ff3.66:1 large text only5.16:1 ✓ AA
600 (yours)#7c3aed5.7:1 ✓ AA3.31:1 large text only
700#6724cd7.75:1 ✓ AA2.44:1 ✕
800#5012a410.69:1 ✓ AA1.77:1 ✕
900#39047a14.26:1 ✓ AA1.32:1 ✕
950#21004e17.88:1 ✓ AA1.06:1 ✕

Safe pairs to use

Picked from your scale so each one passes WCAG, with the ratio shown.

  • Book now

    Button with white text

    The lightest step that still gives white text 4.5:1.

    White on 6005.7:1 ✓ Pass

  • Read the details

    Links and text on white

    Coloured text on a white page needs 4.5:1 too.

    600 on white5.7:1 ✓ Pass

  • Read the details

    Links on a dark background

    For dark mode or dark sections. The darkest step that still reads on near-black.

    500 on dark5.16:1 ✓ Pass

  • Input with a border

    Borders, icons and focus rings

    Parts of controls need 3:1 against what they sit on (WCAG 1.4.11).

    500 on white3.66:1 ✓ Pass

  • Callout text

    Text on a light tint

    Callouts and badges: a very light background with a dark step for the text.

    950 on 5016.57:1 ✓ Pass

Take it with you

:root {
  --purple-50: #f7f5ff;
  --purple-100: #edeaff;
  --purple-200: #dcd4ff;
  --purple-300: #c6b8ff;
  --purple-400: #ac93ff;
  --purple-500: #9569ff;
  --purple-600: #7c3aed;
  --purple-700: #6724cd;
  --purple-800: #5012a4;
  --purple-900: #39047a;
  --purple-950: #21004e;
}

The short answer

Purple (#7c3aed) works with white text. The ratio is 5.7:1, above the 4.5:1 that WCAG AA asks for, so you can use it as a button or banner colour with white lettering.

Purple shades and their contrast

Purple scale with contrast ratios on white and on a dark background
StepColourOn whiteOn dark
50#f7f5ff1.08:1 ✕17.5:1 ✓ AA
100#edeaff1.18:1 ✕16.02:1 ✓ AA
200#dcd4ff1.41:1 ✕13.4:1 ✓ AA
300#c6b8ff1.79:1 ✕10.52:1 ✓ AA
400#ac93ff2.51:1 ✕7.53:1 ✓ AA
500#9569ff3.66:1 large only5.16:1 ✓ AA
600 (yours)#7c3aed5.7:1 ✓ AA3.31:1 large only
700#6724cd7.75:1 ✓ AA2.44:1 ✕
800#5012a410.69:1 ✓ AA1.77:1 ✕
900#39047a14.26:1 ✓ AA1.32:1 ✕
950#21004e17.88:1 ✓ AA1.06:1 ✕

Questions about purple

Does purple work with white text?

Yes. Purple (#7c3aed) has a contrast ratio of 5.7:1 with white, which meets the 4.5:1 WCAG AA asks for.

Does black text work on purple?

No. Black on #7c3aed is 3.69:1, which is below 4.5:1. Use a lighter or darker shade instead.

Which shade of purple should I use for links on a white page?

Use a step that reaches 4.5:1 on white. For purple that is step 600 (#7c3aed), at 5.7:1.

Other colours

Build a scale from your own colour or check two colours.

Is your live site using these colours well?

A free scan checks every colour pair on your page against WCAG 2.2 and shows what to fix.

No account needed. Takes about 30 seconds.