Violet
#797CDA
#797CDA is a violet with medium intensity, at step 500 of its 50–950 scale. Dark text on it has a contrast of 5.1:1. On white it reaches only 3.7:1, so use a darker shade for text.
#797CDA shades and tints
Eleven steps from 50 to 950 with #797CDA kept exactly at step 500. Lightness steps are even to the eye, and intensity tapers toward the lightest and darkest steps.
- 50 F5F6FF
- 100 E7EAFF
- 200 D1D6FF
- 300 B2B8FF
- 400 9398F6
- 500 797CDA
- 600 6061BB
- 700 49489C
- 800 36337E
- 900 241F60
- 950 130D41
Tailwind CSS v4 theme
@theme { --color-violet-50: #f5f6ff; --color-violet-100: #e7eaff; --color-violet-200: #d1d6ff; --color-violet-300: #b2b8ff; --color-violet-400: #9398f6; --color-violet-500: #797cda; --color-violet-600: #6061bb; --color-violet-700: #49489c; --color-violet-800: #36337e; --color-violet-900: #241f60; --color-violet-950: #130d41;}Is #797CDA readable?
Contrast for text on #797CDA and for #797CDA 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 · 3.7APCA Lc 70 · Content text 16px and up
- AaThe quick brown foxCheck in contrast tool
Dark text on it
AA · 5.1APCA Lc 39 · Placeholders and disabled text
- AaThe quick brown foxClosest readable: #6B6DCA · 4.5:1 Check in contrast tool
As text on white
Large · 3.7APCA Lc 64 · Content text 16px and up
- AaThe quick brown foxCheck in contrast tool
As text on a dark background
AA · 5.1APCA Lc 37 · Placeholders and disabled text
Color palettes with #797CDA
Six palettes built around #797CDA, each starting from the exact color. Open one in the palette tool to adjust it or get more options.
- Analogous#797CDA · #9E71B1 · #81C0FF · #FFE0F0 · #222229
- Complementary#797CDA · #CCAF39 · #D4AD00 · #E3E7FF · #2A2C35
- Split complementary#797CDA · #B27C46 · #86C819 · #D6D7FF · #1F2027
- Triadic#797CDA · #D68770 · #33CA87 · #E4E6FF · #23242C
- Tetradic#797CDA · #E57495 · #D1B000 · #A7E3DC · #22222C
- Monochromatic#797CDA · #8C90D4 · #8195FF · #CED9FF · #282A34
#797CDA as a brand color
What a UI color system built from #797CDA 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, #B2B8FF
- Brand 400, #9398F6
- Brand 500, #797CDA
- Brand 600, #6061BB
- Brand 700, #49489C
- Brand 800, #36337E
- Brand 900, #241F60
- Brand 950, #130D41
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, #90F1BF
- Success 300, #6BD9A2
- Success 400, #40BD85
- Success 500, #00A26A
- 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, #FCAC4C
- Warning 400, #EB9515
- 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, #DC3241
- Danger 600, #C81A32
- 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, #60A5FB
- Info 500, #3980D6
- Info 600, #266DC0
- Info 700, #0A54A1
- Info 800, #003E7E
- Info 900, #002A59
- Info 950, #001737
- Primary buttons use Brand 500 with neutral 950 text, at 5.4:1.
- In dark mode primary stays Brand 500: it already reads on the dark background at 5.4: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 #797CDA
Lighter and darker versions, its complementary color, neighbors on the color wheel and softer variants.