Violet
#AF9DF8
#AF9DF8 is a violet with medium intensity, at step 400 of its 50–950 scale. Dark text on it has a contrast of 8.1:1. On white it reaches only 2.3:1, so use a darker shade for text.
#AF9DF8 shades and tints
Eleven steps from 50 to 950 with #AF9DF8 kept exactly at step 400. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F7F5FF
- 100 EBE8FF
- 200 D9D3FF
- 300 C0B3FF
- 400 AF9DF8
- 500 8A77CF
- 600 705DB1
- 700 584593
- 800 433076
- 900 2E1D59
- 950 1B0C3B
Tailwind CSS v4 theme
@theme { --color-violet-50: #f7f5ff; --color-violet-100: #ebe8ff; --color-violet-200: #d9d3ff; --color-violet-300: #c0b3ff; --color-violet-400: #af9df8; --color-violet-500: #8a77cf; --color-violet-600: #705db1; --color-violet-700: #584593; --color-violet-800: #433076; --color-violet-900: #2e1d59; --color-violet-950: #1b0c3b;}Is #AF9DF8 readable?
Contrast for text on #AF9DF8 and for #AF9DF8 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 51 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 8.1APCA Lc 57 · Large text and headings
- AaThe quick brown foxClosest readable: #7D69C0 · 4.5:1 Check in contrast tool
As text on white
Fail · 2.3APCA Lc 46 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AAA · 8.1APCA Lc 56 · Large text and headings
Color palettes with #AF9DF8
Six palettes built around #AF9DF8, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#AF9DF8 · #B581CA · #7CA7FF · #FFD9E8 · #232130
- Complementary#AF9DF8 · #CBB044 · #D5B52C · #E2E2FF · #282532
- Split complementary#AF9DF8 · #D9A848 · #78C67C · #DBD4FF · #232231
- Triadic#AF9DF8 · #C48148 · #00D1A6 · #DCD9FF · #24242F
- Tetradic#AF9DF8 · #F17D6F · #95C265 · #A7FCFC · #26262F
- Monochromatic#AF9DF8 · #8574D9 · #A58CE9 · #DEDEFF · #232128
#AF9DF8 as a brand color
What a UI color system built from #AF9DF8 looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F7F5FF
- Brand 100, #EBE8FF
- Brand 200, #D9D3FF
- Brand 300, #C0B3FF
- Brand 400, #AF9DF8
- Brand 500, #8A77CF
- Brand 600, #705DB1
- Brand 700, #584593
- Brand 800, #433076
- Brand 900, #2E1D59
- Brand 950, #1B0C3B
Neutral
- Neutral 50, #FAFAFB
- Neutral 100, #F4F4F6
- Neutral 200, #E5E5E8
- Neutral 300, #D4D3D9
- Neutral 400, #A1A0A8
- Neutral 500, #73727B
- Neutral 600, #54535B
- Neutral 700, #403F47
- Neutral 800, #28272E
- Neutral 900, #18171D
- Neutral 950, #0A090F
Success
- Success 50, #E3FFEE
- Success 100, #B4FFD6
- Success 200, #8DF2BE
- Success 300, #66DAA1
- Success 400, #39BE84
- Success 500, #04AB70
- 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, #EF9F39
- Warning 400, #DD902B
- 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, #FF6D6F
- Danger 500, #DE444C
- Danger 600, #C32937
- Danger 700, #A20122
- Danger 800, #7C0017
- Danger 900, #58000E
- Danger 950, #360005
Info
- Info 50, #F2F7FF
- Info 100, #DFEDFF
- Info 200, #C0DCFF
- Info 300, #93C3FF
- Info 400, #66A5F5
- Info 500, #4787D7
- Info 600, #2E6EBA
- Info 700, #16559C
- Info 800, #003E7E
- Info 900, #002A59
- Info 950, #001737
- Primary buttons use Brand 400 with neutral 950 text, at 8.5:1.
- In dark mode primary stays Brand 400: it already reads on the dark background at 8.5: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 #AF9DF8
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.