Violet
#C2A7F1
#C2A7F1 is a violet with medium intensity, at step 300 of its 50–950 scale. Dark text on it has a contrast of 9.1:1. On white it reaches only 2.1:1, so use a darker shade for text.
#C2A7F1 shades and tints
Eleven steps from 50 to 950 with #C2A7F1 kept exactly at step 300. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F8F5FF
- 100 EFE6FF
- 200 E0D0FF
- 300 C2A7F1
- 400 AE94DA
- 500 9278BE
- 600 785EA1
- 700 5F4685
- 800 483269
- 900 331F4E
- 950 1E0E33
Tailwind CSS v4 theme
@theme { --color-violet-50: #f8f5ff; --color-violet-100: #efe6ff; --color-violet-200: #e0d0ff; --color-violet-300: #c2a7f1; --color-violet-400: #ae94da; --color-violet-500: #9278be; --color-violet-600: #785ea1; --color-violet-700: #5f4685; --color-violet-800: #483269; --color-violet-900: #331f4e; --color-violet-950: #1e0e33;}Is #C2A7F1 readable?
Contrast for text on #C2A7F1 and for #C2A7F1 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 45 · Large text and headings
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AAA · 9.1APCA Lc 63 · Content text 16px and up
- AaThe quick brown foxClosest readable: #846AAF · 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 · 9.1APCA Lc 61 · Content text 16px and up
Color palettes with #C2A7F1
Six palettes built around #C2A7F1, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#C2A7F1 · #D17AB9 · #86AAFF · #FFE3E7 · #221F2A
- Complementary#C2A7F1 · #95C263 · #95C264 · #DBCFFF · #362F3D
- Split complementary#C2A7F1 · #D6AB35 · #2FD687 · #E8D8FF · #231F26
- Triadic#C2A7F1 · #B86F37 · #00CBBC · #DCCCFF · #2D2B35
- Tetradic#C2A7F1 · #D67D6B · #94CF4A · #A3E7F0 · #2A2830
- Monochromatic#C2A7F1 · #9E7CCC · #B580E9 · #EEE6FF · #2B282E
#C2A7F1 as a brand color
What a UI color system built from #C2A7F1 looks like: brand, neutral and status scales, with light and dark tokens that pass WCAG.
Brand
- Brand 50, #F8F5FF
- Brand 100, #EFE6FF
- Brand 200, #E0D0FF
- Brand 300, #C2A7F1
- Brand 400, #AE94DA
- Brand 500, #9278BE
- Brand 600, #785EA1
- Brand 700, #5F4685
- Brand 800, #483269
- Brand 900, #331F4E
- Brand 950, #1E0E33
Neutral
- Neutral 50, #FAFAFB
- Neutral 100, #F4F4F6
- Neutral 200, #E6E4E8
- Neutral 300, #D5D3D8
- Neutral 400, #A29FA7
- Neutral 500, #74727A
- Neutral 600, #55535B
- Neutral 700, #413F46
- Neutral 800, #29272D
- Neutral 900, #19171D
- Neutral 950, #0B090E
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, #EAA453
- 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.5:1.
- In dark mode primary stays Brand 300: it already reads on the dark background at 9.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 #C2A7F1
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.