An accessible color system for a purple brand
A saturated purple has strong contrast on white. In dark mode it loses much of that contrast, and a lighter step takes over for buttons.
What happens to the brand
| Use | Threshold | Light | Dark |
|---|---|---|---|
| Action background, against the surface | 3:1 | #7C3AED 5.69:1 passthe brand as is | #8D65F0 5.25:1 passbrand step 500 |
| Button text, on the brand, hover and pressed | 4.5:1 | #F6F8FA 5.35:1 passneutral 50 | #000000 5.25:1 passblack |
| Text in the brand color, on the surface | 4.5:1 | #7C3AED 5.69:1 passthe brand as is | #894CFD 4.51:1 passvariant brand.text |
| Focus ring, against the surface | 3:1 | #702BDC 6.84:1 passbrand step 700 | #9D81F1 6.84:1 passbrand step 400 |
In light mode, the brand is the action background as is (5.69:1 on white). In dark mode, the brand reaches 3.68:1 on black, but no text color reaches 4.5:1 on it and on its hover and pressed states at once: the action background moves to brand step 500 (#8D65F0, 5.25:1). The brand stays intact.
The tokens in an interface
Every text in this preview sits on a background its combination is guaranteed against.
Monthly report
Secondary text, legible on every surface.
Email addressname@example.com
Monthly report
Secondary text, legible on every surface.
Email addressname@example.com
The scales
11 steps per hue, default settings, algorithm v1.11.
- 50 #F8F7FC
- 100 #DFDAF6
- 200 #C7BDF3
- 300 #B1A0F2
- 400 #9D81F1
- 500 #8D65F0
- 600 #7F42ED
- 700 #702BDC
- 800 #551FA9
- 900 #3C137A
- 950 #24094E
- 50 #F6F8FA
- 100 #DADEE5
- 200 #BFC5CC
- 300 #A7ACB3
- 400 #8E949B
- 500 #7A8087
- 600 #656B72
- 700 #565B62
- 800 #40444B
- 900 #2B2F36
- 950 #171C21
- 50 #FBF6F7
- 100 #F1D8D9
- 200 #EAB8BB
- 300 #E6959B
- 400 #E1717D
- 500 #CA5C68
- 600 #B24655
- 700 #9C3847
- 800 #772935
- 900 #551B24
- 950 #350E14
- 50 #FBF7F5
- 100 #F1D9CA
- 200 #EABA9C
- 300 #E59A69
- 400 #CD814F
- 500 #B36E42
- 600 #985B37
- 700 #834D2D
- 800 #653921
- 900 #482615
- 950 #2D150A
- 50 #EDFBF4
- 100 #98EFC9
- 200 #7AD6B0
- 300 #64BC98
- 400 #53A282
- 500 #468C6F
- 600 #3A755D
- 700 #30644F
- 800 #234B3B
- 900 #163428
- 950 #0B1F17
- 50 #F5F8FB
- 100 #D3DEF0
- 200 #B0C5E9
- 300 #8BADE3
- 400 #6794DD
- 500 #4C7ED2
- 600 #3869BB
- 700 #2C59A3
- 800 #1F437D
- 900 #142E5A
- 950 #091A38
Hex values
| 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950 | |
|---|---|---|---|---|---|---|---|---|---|---|---|
| Brand | #F8F7FC | #DFDAF6 | #C7BDF3 | #B1A0F2 | #9D81F1 | #8D65F0 | #7F42ED | #702BDC | #551FA9 | #3C137A | #24094E |
| Neutral | #F6F8FA | #DADEE5 | #BFC5CC | #A7ACB3 | #8E949B | #7A8087 | #656B72 | #565B62 | #40444B | #2B2F36 | #171C21 |
| Error | #FBF6F7 | #F1D8D9 | #EAB8BB | #E6959B | #E1717D | #CA5C68 | #B24655 | #9C3847 | #772935 | #551B24 | #350E14 |
| Warning | #FBF7F5 | #F1D9CA | #EABA9C | #E59A69 | #CD814F | #B36E42 | #985B37 | #834D2D | #653921 | #482615 | #2D150A |
| Success | #EDFBF4 | #98EFC9 | #7AD6B0 | #64BC98 | #53A282 | #468C6F | #3A755D | #30644F | #234B3B | #163428 | #0B1F17 |
| Info | #F5F8FB | #D3DEF0 | #B0C5E9 | #8BADE3 | #6794DD | #4C7ED2 | #3869BB | #2C59A3 | #1F437D | #142E5A | #091A38 |
Other examples
Blue · Red · Yellow · Green · Orange · Muted brand
Open the toolHow it worksExamplesFAQComparisonGuides: Your brand color fails contrast · Your brand color in dark mode