Market Laravel Brand Palette + WCAG Contrast Utility
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.
Live demo coming soon

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.

AA / AAA
Contrast verdicts
Pure PHP
No DB / network / AI
Plain array
In, structured out
0
Monthly fees to us

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

Full source — a pure-PHP package usable in any Laravel (or plain PHP) app
Correct WCAG relative-luminance + contrast-ratio math (verified against reference values)
Per-pairing AA / AA-large / AAA pass/fail plus ranked accessible pairing suggestions
Robust hex parsing (3- or 6-digit, with or without #) that never throws to a caller
An optional Blade preview console and a CLI check command
Unit tests for the contrast math

How It Works

1

Provide a Palette

Pass a plain array of hex colors (a list, or name => hex). Invalid values are recorded, never coerced.

2

Compute Ratios

It calculates the WCAG contrast ratio for the pairings and evaluates them against the AA / AA-large / AAA thresholds.

3

Get a Structured Result

You get ratios, per-level pass/fail, and ranked accessible pairing suggestions as a structured value object.

4

Preview (Optional)

Use the optional Blade console to eyeball swatches and contrast, or the CLI to check a palette from the terminal.

Technical Details

WCAG Math

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).

Thresholds

AA 4.5:1, AA-large / UI 3:1, AAA 7:1 (4.5:1 large), applied per pairing with a small epsilon.

Pure Utility

No DB, network, AI, or framework model coupling. A plain array of hexes in; a PaletteReport / pair-contrast structure out.

Not Included

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

Yes — it uses the standard WCAG relative-luminance and contrast-ratio formula, and the results were verified against reference values during review.
No. It computes color-contrast ratios and pass/fail from the colors you give it. A full accessibility audit (DOM, focus, ARIA) is a different kind of tool.
The package ships a Laravel ServiceProvider and an optional Blade console, but the core contrast classes are plain PHP and work in any PHP 8.2+ project.
It ships with unit tests for the math, but has not been installed and run as a package here. Stand it up on staging first.
Try the Live Demo

A live preview running the real package. The product itself is downloadable source you self-host on your own site.

$ one-time

This product isn't available for purchase yet.

Item Details

Category Laravel
Released Sep 16, 2026
Last Updated Sep 16, 2026
Compatible With
Laravel 11 / 12 PHP 8.2+ (usable in any PHP app)
Tags
wcag accessibility contrast color branding php laravel
Blorp Blorp
Software Studio

We build the tools we sell. Every product is extracted from our own production systems.

Book a call for custom work

More from Blorp Blorp Market

AI-Powered

AI Contact Form

An intelligent contact form that qualifies leads, blocks spam, and drafts responses — powered by your own OpenAI key.

$499 View →
Developer Tool

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.

$39 View →
Multi-Tenant

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.

$149 View →
AI-Powered

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.

$39 View →
AI-Powered

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.

$69 View →
Self-Hosted

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.

$59 View →
Developer Tool

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.

$29 View →
AI Tools

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.

$39 View →
Novelty

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.

$29 View →
Developer Tool

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).

$49 View →
Developer Tool

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.

$49 View →
Developer Tool

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.

$99 View →
Developer Tool

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.

$79 View →

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.