Muted violet
#AFA8BB
#AFA8BB is a muted violet with low intensity, at step 400 of its 50–950 scale. Dark text on it has a contrast of 8.2:1. On white it reaches only 2.3:1, so use a darker shade for text.
#AFA8BB shades and tints
Eleven steps from 50 to 950 with #AFA8BB kept exactly at step 400. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F8F5FF
- 100 EEE8F7
- 200 DCD6E6
- 300 C2BCCD
- 400 AFA8BB
- 500 8B8496
- 600 706A7B
- 700 585262
- 800 423D4B
- 900 2D2935
- 950 1A1620
Tailwind CSS v4 theme
@theme { --color-violet-50: #f8f5ff; --color-violet-100: #eee8f7; --color-violet-200: #dcd6e6; --color-violet-300: #c2bccd; --color-violet-400: #afa8bb; --color-violet-500: #8b8496; --color-violet-600: #706a7b; --color-violet-700: #585262; --color-violet-800: #423d4b; --color-violet-900: #2d2935; --color-violet-950: #1a1620;}Is #AFA8BB readable?
Contrast for text on #AFA8BB and for #AFA8BB used as text. WCAG 2.2 asks for 4.5:1 for body text and 3:1 for large text; APCA Lc rates how comfortable the text is to read.
- AaThe quick brown foxCheck in contrast tool
White text on it
Fail · 2.3APCA Lc 50 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 8.2APCA Lc 58 · Large text and headings
- AaThe quick brown foxClosest readable: #7A7485 · 4.5:1 Check in contrast tool
As text on white
Fail · 2.3APCA Lc 45 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 8.2APCA Lc 56 · Large text and headings
Color palettes with #AFA8BB
Six palettes built around #AFA8BB, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#AFA8BB · #AB72AC · #98B0FF · #FFD5E3 · #211E2A
- Complementary#AFA8BB · #96C166 · #87C828 · #E0CBFA · #292231
- Split complementary#AFA8BB · #CDAF32 · #5FB973 · #DDCDFF · #2A2533
- Triadic#AFA8BB · #C68A52 · #00B29B · #E2CAFF · #292530
- Tetradic#AFA8BB · #C67660 · #94C260 · #A2F2FB · #25232C
- Monochromatic#AFA8BB · #AF8CF1 · #B48EFE · #ECE5FF · #29242E
#AFA8BB as a brand color
What a UI color system built from #AFA8BB looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F8F5FF
- Brand 100, #EEE8F7
- Brand 200, #DCD6E6
- Brand 300, #C2BCCD
- Brand 400, #AFA8BB
- Brand 500, #8B8496
- Brand 600, #706A7B
- Brand 700, #585262
- Brand 800, #423D4B
- Brand 900, #2D2935
- Brand 950, #1A1620
Neutral
- Neutral 50, #FAFAFB
- Neutral 100, #F4F4F6
- Neutral 200, #E6E4E8
- Neutral 300, #D5D3D8
- Neutral 400, #A29FA7
- Neutral 500, #75727A
- Neutral 600, #55525B
- Neutral 700, #413F46
- Neutral 800, #29272D
- Neutral 900, #19171D
- Neutral 950, #0B090E
Success
- Success 50, #E5FFE9
- Success 100, #BEFECA
- Success 200, #A7EDB5
- Success 300, #87D597
- Success 400, #65B979
- Success 500, #4FA565
- Success 600, #278143
- Success 700, #06672E
- Success 800, #004E20
- Success 900, #003614
- Success 950, #001F09
Warning
- Warning 50, #FFF5E9
- Warning 100, #FFE7CA
- Warning 200, #FFD096
- Warning 300, #E4A44D
- Warning 400, #D29541
- Warning 500, #B67917
- Warning 600, #956000
- Warning 700, #764B00
- Warning 800, #593800
- Warning 900, #3E2500
- Warning 950, #251400
Danger
- Danger 50, #FFF4F2
- Danger 100, #FFE4E0
- Danger 200, #FFCBC4
- Danger 300, #FFA398
- Danger 400, #F7766B
- Danger 500, #D4534A
- Danger 600, #B93B35
- Danger 700, #9A211F
- Danger 800, #7B070C
- Danger 900, #580004
- Danger 950, #360002
Info
- Info 50, #F0F8FF
- Info 100, #DBEEFF
- Info 200, #B9DEFF
- Info 300, #84C7FF
- Info 400, #5FAAE7
- Info 500, #3E8CC9
- Info 600, #2173AD
- Info 700, #00598F
- Info 800, #00436D
- Info 900, #002E4D
- Info 950, #001A2F
- Primary buttons use Brand 400 with neutral 950 text, at 8.6:1.
- In dark mode primary stays Brand 400: it already reads on the dark background at 8.6:1.
- Neutrals carry a hint of its hue, so grays, borders and surfaces feel related to the brand.
- Success, warning, danger and info lean toward its hue and stay easy to tell apart.
Colors related to #AFA8BB
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.