Colors
Complete brand color system with palette, buttons, pairings, dark mode, and accessibility.
Properties
primary_palettePaletteColor[]Primary colors sorted by usage frequency
namestringColor name (e.g., "Midnight Blue")
hexstringHex color value
Example: "#1a2b3c"
rgbastringRGBA color value
hslstringHSL color value
usagestringWhere this color appears
category"primary" | "secondary" | "accent" | "neutral"usage_frequencynumber0–100 scale indicating how often this color is used
contextsstring[]Where on the page this color appears
is_gradientbooleangradient_definitionstringCSS gradient definition (if is_gradient is true)
recommended_usage_percentstringRecommended usage percentage (e.g., "55-65")
button_colorsobject[]Button color variants (Primary, Secondary, Ghost, etc.)
labelstringbackground_hexstringbackground_rgbastringtext_hexstringtext_rgbastringborder_hexstringborder_rgbastringhover_background_hexstringhover_background_rgbastringusagestringaccessibilityAccessibilityMetricsWCAG accessibility metrics for a color pairing
contrast_rationumberContrast ratio (1–21)
wcag_aabooleanMeets WCAG AA standard
wcag_aaabooleanMeets WCAG AAA standard
wcag_large_text_aabooleanMeets WCAG AA for large text
supporting_colorsobject[]Grays, whites, blacks, and other neutrals
namestringhexstringrgbastringhslstringusagestringcolor_pairingsobject[]Effective foreground/background color combinations
foreground_hexstringbackground_hexstringusagestringaccessibilityAccessibilityMetricsWCAG accessibility metrics for a color pairing
contrast_rationumberContrast ratio (1–21)
wcag_aabooleanMeets WCAG AA standard
wcag_aaabooleanMeets WCAG AAA standard
wcag_large_text_aabooleanMeets WCAG AA for large text
recommendedbooleandark_modeobjectDark mode color analysis
detected"yes" | "no" | "partial"generatedbooleanWhether dark mode colors were synthesized vs extracted
dark_mode_colorsobject[]namestringhexstringrgbastringhslstringusagestringlight_mode_equivalentstringusage_guidelinesstring[]Best-practice guidelines for applying the color system
design_notesstringOverall observations about the color system
accessibilityobjectTop-level accessibility summary
overall_score"good" | "needs_improvement" | "poor"recommendationsstring[]contrast_issuesobject[]typestringelementstringforeground_hexstringbackground_hexstringcontrast_rationumbermeets_wcag_aabooleanrecommendationstring{
"primary_palette": [
{
"name": "string",
"hex": "#1a2b3c",
"rgba": "string",
"hsl": "string",
"usage": "string",
"category": "primary",
"usage_frequency": 0,
"contexts": [
"string"
],
"is_gradient": true,
"gradient_definition": "string",
"recommended_usage_percent": "string"
}
],
"button_colors": [
{
"label": "string",
"background_hex": "string",
"background_rgba": "string",
"text_hex": "string",
"text_rgba": "string",
"border_hex": "string",
"border_rgba": "string",
"hover_background_hex": "string",
"hover_background_rgba": "string",
"usage": "string",
"accessibility": {
"contrast_ratio": 0,
"wcag_aa": true,
"wcag_aaa": true,
"wcag_large_text_aa": true
}
}
],
"supporting_colors": [
{
"name": "string",
"hex": "string",
"rgba": "string",
"hsl": "string",
"usage": "string"
}
],
"color_pairings": [
{
"foreground_hex": "string",
"background_hex": "string",
"usage": "string",
"accessibility": "...",
"recommended": true
}
],
"dark_mode": {
"detected": "yes",
"generated": true,
"dark_mode_colors": [
{
"name": "string",
"hex": "string",
"rgba": "string",
"hsl": "string",
"usage": "string",
"light_mode_equivalent": "string"
}
]
},
"usage_guidelines": [
"string"
],
"design_notes": "string",
"accessibility": {
"overall_score": "good",
"recommendations": [
"string"
],
"contrast_issues": [
{
"type": "string",
"element": "string",
"foreground_hex": "string",
"background_hex": "string",
"contrast_ratio": 0,
"meets_wcag_aa": true,
"recommendation": "string"
}
]
}
}