Violet
#AFA9FF
#AFA9FF is a violet with medium intensity, at step 300 of its 50–950 scale. Dark text on it has a contrast of 8.9:1. On white it reaches only 2.1:1, so use a darker shade for text.
#AFA9FF shades and tints
Eleven steps from 50 to 950 with #AFA9FF kept exactly at step 300. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F6F6FF
- 100 E9E9FF
- 200 D5D4FF
- 300 AFA9FF
- 400 9D97E9
- 500 827BCD
- 600 6961AF
- 700 524991
- 800 3D3475
- 900 292058
- 950 170E3B
Tailwind CSS v4 theme
@theme { --color-violet-50: #f6f6ff; --color-violet-100: #e9e9ff; --color-violet-200: #d5d4ff; --color-violet-300: #afa9ff; --color-violet-400: #9d97e9; --color-violet-500: #827bcd; --color-violet-600: #6961af; --color-violet-700: #524991; --color-violet-800: #3d3475; --color-violet-900: #292058; --color-violet-950: #170e3b;}Is #AFA9FF readable?
Contrast for text on #AFA9FF and for #AFA9FF 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.1APCA Lc 46 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 8.9APCA Lc 62 · Content text 16px and up
- AaThe quick brown foxClosest readable: #746DBD · 4.5:1 Check in contrast tool
As text on white
Fail · 2.1APCA Lc 41 · Placeholders and disabled text
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 8.9APCA Lc 60 · Content text 16px and up
Color palettes with #AFA9FF
Six palettes built around #AFA9FF, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#AFA9FF · #A068B1 · #86AEFF · #FFC8EC · #27262F
- Complementary#AFA9FF · #C4B166 · #D0AF00 · #DDDDFF · #222127
- Split complementary#AFA9FF · #DCA748 · #7BD351 · #CCD2FF · #323239
- Triadic#AFA9FF · #C1672E · #00BA8B · #D2D2FF · #272533
- Tetradic#AFA9FF · #C87881 · #D7B836 · #6FF6FA · #2F2F35
- Monochromatic#AFA9FF · #7D7CDE · #9BA2FF · #E2E3FF · #22222A
#AFA9FF as a brand color
What a UI color system built from #AFA9FF looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F6F6FF
- Brand 100, #E9E9FF
- Brand 200, #D5D4FF
- Brand 300, #AFA9FF
- Brand 400, #9D97E9
- Brand 500, #827BCD
- Brand 600, #6961AF
- Brand 700, #524991
- Brand 800, #3D3475
- Brand 900, #292058
- Brand 950, #170E3B
Neutral
- Neutral 50, #FAFAFB
- Neutral 100, #F4F4F6
- Neutral 200, #E5E5E8
- Neutral 300, #D4D3D9
- Neutral 400, #A0A0A8
- Neutral 500, #72727B
- Neutral 600, #53535C
- Neutral 700, #3F3F47
- Neutral 800, #27272E
- Neutral 900, #17171D
- Neutral 950, #0A090F
Success
- Success 50, #E3FFEE
- Success 100, #B4FFD6
- Success 200, #93F0BF
- Success 300, #6ED8A3
- Success 400, #45BC86
- Success 500, #27AB74
- Success 600, #008254
- Success 700, #006641
- Success 800, #004D30
- Success 900, #003520
- Success 950, #001F10
Warning
- Warning 50, #FFF5EB
- Warning 100, #FFE7CD
- Warning 200, #FFCF9D
- Warning 300, #EEA247
- Warning 400, #D99138
- Warning 500, #BD7500
- Warning 600, #995E00
- Warning 700, #784900
- Warning 800, #5B3600
- Warning 900, #402400
- Warning 950, #261300
Danger
- Danger 50, #FFF4F3
- Danger 100, #FFE4E2
- Danger 200, #FFCAC7
- Danger 300, #FFA29F
- Danger 400, #FD6F71
- Danger 500, #D94B50
- Danger 600, #BE323B
- Danger 700, #9E1426
- Danger 800, #7C0017
- Danger 900, #58000E
- Danger 950, #360005
Info
- Info 50, #F2F7FF
- Info 100, #DFEDFF
- Info 200, #C0DCFF
- Info 300, #93C3FF
- Info 400, #6BA6F0
- Info 500, #4C88D2
- Info 600, #336EB6
- Info 700, #1C5598
- Info 800, #073F7A
- Info 900, #002A59
- Info 950, #001737
- Primary buttons use Brand 300 with neutral 950 text, at 9.4:1.
- In dark mode primary stays Brand 300: it already reads on the dark background at 9.4: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 #AFA9FF
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.