Color palette

Law Firm 8 Color Palette

LawProfessionalTrust
Primary#31A9D8
Accent#D651C9
Surface#EBF0F4
Text#121C21
Support#CE82B9

Palette Quality

Checked against practical UI roles before publishing.

96 / 100 · Usable

Review notes: Primary / Surface contrast is 2.35:1 Support / Surface contrast is 2.43:1

CSS Variables

:root {
  --primary: #31A9D8;
  --accent: #D651C9;
  --surface: #EBF0F4;
  --text: #121C21;
  --support: #CE82B9;
}

Tailwind Config

colors: {
  primary: "#31A9D8",
  accent: "#D651C9",
  surface: "#EBF0F4",
  text: "#121C21",
  support: "#CE82B9",
}

UI Example

Product dashboardLive
Revenue$48k
Activation72%
Retention41%

Contrast Checks

Text / Surface15.08:1
Primary / Surface2.35:1
Accent / Text4.84:1

SCSS Variables

$primary: #31A9D8;
$accent: #D651C9;
$surface: #EBF0F4;
$text: #121C21;
$support: #CE82B9;

Social Card SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
  <rect width="1200" height="630" fill="#fbfaf7"/>
  <rect x="48" y="48" width="1104" height="534" rx="28" fill="#fff" stroke="#e8e2d6"/>
  <rect x="80" y="130" width="170" height="290" rx="14" fill="#31A9D8"/><text x="100" y="455" fill="#171717" font-size="20" font-weight="700">#31A9D8</text><text x="100" y="485" fill="#666" font-size="15">Primary</text><rect x="270" y="130" width="170" height="290" rx="14" fill="#D651C9"/><text x="290" y="455" fill="#171717" font-size="20" font-weight="700">#D651C9</text><text x="290" y="485" fill="#666" font-size="15">Accent</text><rect x="460" y="130" width="170" height="290" rx="14" fill="#EBF0F4"/><text x="480" y="455" fill="#171717" font-size="20" font-weight="700">#EBF0F4</text><text x="480" y="485" fill="#666" font-size="15">Surface</text><rect x="650" y="130" width="170" height="290" rx="14" fill="#121C21"/><text x="670" y="455" fill="#171717" font-size="20" font-weight="700">#121C21</text><text x="670" y="485" fill="#666" font-size="15">Text</text><rect x="840" y="130" width="170" height="290" rx="14" fill="#CE82B9"/><text x="860" y="455" fill="#171717" font-size="20" font-weight="700">#CE82B9</text><text x="860" y="485" fill="#666" font-size="15">Support</text>
  <text x="80" y="92" fill="#171717" font-family="Inter, Arial, sans-serif" font-size="34" font-weight="800">Law Firm 8</text>
  <text x="80" y="540" fill="#666" font-family="Inter, Arial, sans-serif" font-size="20">ColorMate by stndworks · Law / Professional / Trust</text>
</svg>

Similar Palettes

FAQ

What is Law Firm 8 best used for?

Law Firm 8 works well for law, professional, trust interfaces, websites, dashboards, and brand explorations.

Can I export this palette to CSS or Tailwind?

Yes. ColorMate provides CSS variables, Tailwind config, SCSS variables, and shareable palette artwork.

Is this palette checked for readability?

The detail page includes contrast ratios for practical UI pairings so you can review readability before using the colors.