Violet
#AFB4E9
#AFB4E9 is a violet with medium intensity, at step 300 of its 50–950 scale. Dark text on it has a contrast of 9.4:1. On white it reaches only 2.0:1, so use a darker shade for text.
#AFB4E9 shades and tints
Eleven steps from 50 to 950 with #AFB4E9 kept exactly at step 300. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F5F6FF
- 100 E7EAFF
- 200 D1D6FF
- 300 AFB4E9
- 400 9A9ED1
- 500 7F83B5
- 600 656898
- 700 4E507C
- 800 393B62
- 900 262748
- 950 14152F
Tailwind CSS v4 theme
@theme { --color-violet-50: #f5f6ff; --color-violet-100: #e7eaff; --color-violet-200: #d1d6ff; --color-violet-300: #afb4e9; --color-violet-400: #9a9ed1; --color-violet-500: #7f83b5; --color-violet-600: #656898; --color-violet-700: #4e507c; --color-violet-800: #393b62; --color-violet-900: #262748; --color-violet-950: #14152f;}Is #AFB4E9 readable?
Contrast for text on #AFB4E9 and for #AFB4E9 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.0APCA Lc 43 · Placeholders and disabled text
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 9.4APCA Lc 65 · Content text 16px and up
- AaThe quick brown foxClosest readable: #6F73A4 · 4.5:1 Check in contrast tool
As text on white
Fail · 2.0APCA Lc 39 · Placeholders and disabled text
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 9.4APCA Lc 63 · Content text 16px and up
Color palettes with #AFB4E9
Six palettes built around #AFB4E9, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#AFB4E9 · #B589E0 · #479DF2 · #FCCFF2 · #2B2D33
- Complementary#AFB4E9 · #CDAF34 · #CEAF2B · #DADFFF · #292B35
- Split complementary#AFB4E9 · #CB8322 · #8DC550 · #E0E2FF · #262933
- Triadic#AFB4E9 · #E17643 · #41C480 · #DCDBFF · #2A2A2F
- Tetradic#AFB4E9 · #C06E83 · #D2AE00 · #8DFEF6 · #2E2E39
- Monochromatic#AFB4E9 · #8076DA · #AFABFF · #D1D7FF · #232534
#AFB4E9 as a brand color
What a UI color system built from #AFB4E9 looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F5F6FF
- Brand 100, #E7EAFF
- Brand 200, #D1D6FF
- Brand 300, #AFB4E9
- Brand 400, #9A9ED1
- Brand 500, #7F83B5
- Brand 600, #656898
- Brand 700, #4E507C
- Brand 800, #393B62
- Brand 900, #262748
- Brand 950, #14152F
Neutral
- Neutral 50, #FAFAFB
- Neutral 100, #F4F4F6
- Neutral 200, #E4E5E8
- Neutral 300, #D3D4D9
- Neutral 400, #9FA0A8
- Neutral 500, #71737B
- Neutral 600, #52535C
- Neutral 700, #3F4047
- Neutral 800, #27272E
- Neutral 900, #17171D
- Neutral 950, #090A0F
Success
- Success 50, #E3FFEE
- Success 100, #B4FFD6
- Success 200, #9AEFC1
- Success 300, #77D6A6
- Success 400, #51BB88
- Success 500, #38AA77
- Success 600, #008254
- Success 700, #006641
- Success 800, #004D30
- Success 900, #003520
- Success 950, #001F10
Warning
- Warning 50, #FFF5EB
- Warning 100, #FFE7CE
- Warning 200, #FFCF9D
- Warning 300, #EAA554
- Warning 400, #D69344
- Warning 500, #B9771D
- 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, #F77575
- Danger 500, #D45154
- Danger 600, #B93A40
- Danger 700, #991F2A
- Danger 800, #7B0419
- Danger 900, #58000E
- Danger 950, #360005
Info
- Info 50, #F2F7FF
- Info 100, #DFEDFF
- Info 200, #C0DCFF
- Info 300, #93C3FF
- Info 400, #70A6EB
- Info 500, #5188CD
- Info 600, #396EB0
- Info 700, #235693
- Info 800, #103F76
- Info 900, #012A59
- Info 950, #001737
- Primary buttons use Brand 300 with neutral 950 text, at 9.9:1.
- In dark mode primary stays Brand 300: it already reads on the dark background at 9.9: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 #AFB4E9
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.