Brand Palette + WCAG Contrast Utility
A pure-PHP utility that computes WCAG contrast ratios from your brand colors and tells you which pairings pass AA / AAA — with accessible pairing suggestions. No AI, no network.
Why This Exists
Give it a set of brand colors and it computes WCAG contrast ratios, tells you which text/background pairings pass AA, AA-large, and AAA, and suggests accessible pairings from the palette. The relative-luminance and contrast-ratio math is the standard WCAG formula, verified against reference values. It is a deterministic utility — a plain array of hex colors in, a structured result out — with no database, no network, and no AI. Note: it computes contrast; it is not an automated accessibility audit of a live page.
Features
WCAG Ratios
Correct relative-luminance + contrast math, verified against references
AA / AAA Verdicts
Per-pairing pass/fail at AA, AA-large, and AAA thresholds
Pairing Suggestions
Ranked accessible text/background pairings from your palette
Pure + Dependency-Light
No DB, no network, no AI — a plain-array in, structured-result out
What You Get
How It Works
Provide a Palette
Pass a plain array of hex colors (a list, or name => hex). Invalid values are recorded, never coerced.
Compute Ratios
It calculates the WCAG contrast ratio for the pairings and evaluates them against the AA / AA-large / AAA thresholds.
Get a Structured Result
You get ratios, per-level pass/fail, and ranked accessible pairing suggestions as a structured value object.
Preview (Optional)
Use the optional Blade console to eyeball swatches and contrast, or the CLI to check a palette from the terminal.
Technical Details
sRGB linearization + L = 0.2126R + 0.7152G + 0.0722B; ratio = (L1+0.05)/(L2+0.05). Verified against reference values (e.g. #1e3a8a on white ~ 10.36:1).
AA 4.5:1, AA-large / UI 3:1, AAA 7:1 (4.5:1 large), applied per pairing with a small epsilon.
No DB, network, AI, or framework model coupling. A plain array of hexes in; a PaletteReport / pair-contrast structure out.
It is a contrast calculator, not an automated accessibility audit of a rendered page (DOM, focus order, ARIA, etc. are out of scope).
Frequently Asked Questions
Brand Palette + WCAG Contrast Utility
A pure-PHP utility that computes WCAG contrast ratios from your brand colors and tells you which pairings pass AA / AAA — with accessible pairing suggestions. No AI, no network.
A live preview running the real package. The product itself is downloadable source you self-host on your own site.
This product isn't available for purchase yet.
Item Details
We build the tools we sell. Every product is extracted from our own production systems.
Book a call for custom workMore from Blorp Blorp Market
AI Contact Form
An intelligent contact form that qualifies leads, blocks spam, and drafts responses — powered by your own OpenAI key.
Resilient LLM Router
A multi-provider LLM client with automatic failover and one consistent JSON schema across Groq, Gemini, OpenAI, and Anthropic — powered by your own keys.
Creator Affiliate Storefronts
A multi-tenant, keyed Amazon affiliate platform — your site earns on the house tag while each approved creator earns on their own. Drop-in Laravel, bring your own Associates tags.
Embeddable AI Chatbot Widget
A one-script embeddable AI chat widget with a bring-your-own-key Laravel backend. Your OpenAI/Anthropic key stays on your server.
AI Citation Verifier
Submit claims with the source URLs that back them; each source is fetched behind an SSRF guard and graded by an LLM as Supports / Partially / Contradicts / Irrelevant. Bring your own key.
Document e-Sign Kit
A self-hosted e-signature core for Laravel: per-signer magic-link click-to-sign plus a hash-chained, tamper-evident audit trail you can re-verify. No third-party provider.
Project Scope Estimator
A deterministic, multi-step project scope + price/time estimator with optional lead capture. Ships as both a Laravel package and a self-contained vanilla-JS widget. No AI required.
LLMO / llms.txt Kit
Generate a correct llms.txt and AI-crawler robots groups for your site, plus a heuristic LLM-readiness report. SSRF-guarded, bring-your-own-key optional copywriting.
Playful Bot-Gate
A friendly mini-game human check for your forms — the answer is verified server-side and a single-use signed token gates the submit. A novelty/engagement gate, not a security wall.
Styled QR Generator
A stateless engine that renders branded SVG QR codes — module styles, frames, gradients, and an embedded logo — with pluggable payload encoders (url / wifi / vcard / geo / text).
Occupancy / Capacity Counter
A concurrency-safe, append-only manual headcount ledger — lock-safe in/out events, zero-clamped, that warns then flags when a configurable capacity is exceeded. Counts people without identifying them.
Credential Expiry Roster
A roster report that buckets worker credentials into EXPIRED / EXPIRING-SOON / UNDATED (an undated credential is a gap, not "fine"). Records operator attestation — it does not verify credentials against any issuer.
Laravel Calculator Suite
A headless pack of 27 real, working calculators (financial, health, home, utility) behind one BaseCalculator contract, a pure-PHP registry, and a sanitized /calculate JSON endpoint. Estimates only — every one ships a disclaimer.
Need This Customized?
We built this product. We can customize it for your specific needs, integrate it with your systems, or build something entirely new.