Violet
#8172BA
#8172BA is a violet with medium intensity, at step 500 of its 50–950 scale. Dark text on it has a contrast of 4.5:1. On white it reaches only 4.2:1, so use a darker shade for text.
#8172BA shades and tints
Eleven steps from 50 to 950 with #8172BA kept exactly at step 500. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F7F5FF
- 100 EBE8FF
- 200 D9D2FF
- 300 C1B4FA
- 400 A597DF
- 500 8172BA
- 600 6F60A6
- 700 584989
- 800 42346D
- 900 2E2151
- 950 1A0F36
Tailwind CSS v4 theme
@theme { --color-violet-50: #f7f5ff; --color-violet-100: #ebe8ff; --color-violet-200: #d9d2ff; --color-violet-300: #c1b4fa; --color-violet-400: #a597df; --color-violet-500: #8172ba; --color-violet-600: #6f60a6; --color-violet-700: #584989; --color-violet-800: #42346d; --color-violet-900: #2e2151; --color-violet-950: #1a0f36;}Is #8172BA readable?
Contrast for text on #8172BA and for #8172BA 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
Large · 4.2APCA Lc 74 · Content text 16px and up
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AA · 4.5APCA Lc 35 · Placeholders and disabled text
- AaThe quick brown foxClosest readable: #7C6CB4 · 4.5:1 Check in contrast tool
As text on white
Large · 4.2APCA Lc 69 · Content text 16px and up
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AA · 4.5APCA Lc 33 · Placeholders and disabled text
Color palettes with #8172BA
Six palettes built around #8172BA, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#8172BA · #BA91C8 · #6FA7FF · #FFDFEB · #221F2C
- Complementary#8172BA · #CBB045 · #D0AF00 · #DDDBFF · #222127
- Split complementary#8172BA · #CFAB6A · #7BB65B · #E4DCFF · #23222F
- Triadic#8172BA · #C6701B · #36D7A8 · #D4D0FF · #25252E
- Tetradic#8172BA · #CD6666 · #D3B63F · #A7F8F9 · #2E2D35
- Monochromatic#8172BA · #AD88EE · #9B8CFF · #E0D3FF · #211D28
#8172BA as a brand color
What a UI color system built from #8172BA looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F7F5FF
- Brand 100, #EBE8FF
- Brand 200, #D9D2FF
- Brand 300, #C1B4FA
- Brand 400, #A597DF
- Brand 500, #8172BA
- Brand 600, #6F60A6
- Brand 700, #584989
- Brand 800, #42346D
- Brand 900, #2E2151
- Brand 950, #1A0F36
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, #28272D
- Neutral 900, #18171D
- Neutral 950, #0A090F
Success
- Success 50, #E3FFEE
- Success 100, #B4FFD6
- Success 200, #9AEFC1
- Success 300, #77D6A6
- Success 400, #51BB88
- Success 500, #299E6C
- 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, #F1B169
- Warning 400, #DF9A48
- 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, #CA494D
- 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, #497FC3
- Info 600, #396EB0
- Info 700, #235693
- Info 800, #103F76
- Info 900, #012A59
- Info 950, #001737
- Primary buttons use Brand 500 with neutral 950 text, at 4.8:1.
- In dark mode primary stays Brand 500: it already reads on the dark background at 4.8: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 #8172BA
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.