Violet
#5B21B6
#5B21B6 is a violet with high intensity, at step 700 of its 50–950 scale. White text on it has a contrast of 9.0:1. It is readable as text on white (9.0:1).
#5B21B6 shades and tints
Eleven steps from 50 to 950 with #5B21B6 kept exactly at step 700. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F7F5FF
- 100 EBE8FF
- 200 DAD2FF
- 300 C1B2FF
- 400 A88DFF
- 500 9065F8
- 600 7648D8
- 700 5B21B6
- 800 491596
- 900 340072
- 950 1E0047
Tailwind CSS v4 theme
@theme { --color-violet-50: #f7f5ff; --color-violet-100: #ebe8ff; --color-violet-200: #dad2ff; --color-violet-300: #c1b2ff; --color-violet-400: #a88dff; --color-violet-500: #9065f8; --color-violet-600: #7648d8; --color-violet-700: #5b21b6; --color-violet-800: #491596; --color-violet-900: #340072; --color-violet-950: #1e0047;}Is #5B21B6 readable?
Contrast for text on #5B21B6 and for #5B21B6 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
AAA · 9.0APCA Lc 94 · Ideal for body text
- AaThe quick brown foxCheck in contrast tool
Dark text on it
Fail · 2.1APCA Lc 14 · Not readable
- AaThe quick brown foxCheck in contrast tool
As text on white
AAA · 9.0APCA Lc 89 · Body text
- AaThe quick brown foxClosest readable: #8B5FF2 · 4.5:1 Check in contrast tool
As text on a dark background
Fail · 2.1APCA Lc 12 · Not readable
Color palettes with #5B21B6
Six palettes built around #5B21B6, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#5B21B6 · #C280CD · #77A9FF · #FFC3D5 · #322E3E
- Complementary#5B21B6 · #CCB03D · #95C85B · #E2DCFF · #262533
- Split complementary#5B21B6 · #DAA848 · #5FCA60 · #DADBFF · #23222F
- Triadic#5B21B6 · #D07E57 · #00B592 · #DDD3FF · #2C2A33
- Tetradic#5B21B6 · #D5796E · #D0AF00 · #A9FAFF · #2E2A36
- Monochromatic#5B21B6 · #8E73C5 · #A7A1FF · #DBCBFB · #242231
#5B21B6 as a brand color
What a UI color system built from #5B21B6 looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F7F5FF
- Brand 100, #EBE8FF
- Brand 200, #DAD2FF
- Brand 300, #C1B2FF
- Brand 400, #A88DFF
- Brand 500, #9065F8
- Brand 600, #7648D8
- Brand 700, #5B21B6
- Brand 800, #491596
- Brand 900, #340072
- Brand 950, #1E0047
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, #94F0C0
- Success 300, #70D8A4
- Success 400, #48BC86
- Success 500, #009863
- 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, #FDAB48
- Warning 400, #EC9400
- 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, #F03446
- Danger 600, #D5002F
- Danger 700, #A20022
- Danger 800, #7C0017
- Danger 900, #58000E
- Danger 950, #360005
Info
- Info 50, #F2F7FF
- Info 100, #DFEDFF
- Info 200, #C0DCFF
- Info 300, #93C3FF
- Info 400, #5DA5FF
- Info 500, #2E87EE
- Info 600, #1273D8
- Info 700, #0053A5
- Info 800, #003E7E
- Info 900, #002A59
- Info 950, #001737
- Primary buttons use Brand 700 with white text, at 9.0:1.
- In dark mode primary lifts to Brand 500 so it reads on the dark background, at 5.1: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 #5B21B6
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.