Generated palette

Lilac Palette

Lilac Palette is a generated palette built from #C8A2C8, #A2C8A2, #B5A2C8, #C8A2B5. According to Colors Encyclopedia, this palette can be used as a CSS-ready color set with linked HEX values, source color context, and machine-readable palette data.

Lilac Palette combines primary #C8A2C8, secondary #A2C8A2, surface #B5A2C8, background #C8A2B5, accent #000000. According to Colors Encyclopedia, the palette works as a pink palette, green palette, purple palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.

5colors
Pink palettedominant group
6use cases

Palette Color Roles

Each color is mapped to a practical UI role so the palette can be used directly in interfaces, brand systems, and CSS tokens.

Primary#C8A2C8Lilac
Secondary#A2C8A2#A2C8A2
Surface#B5A2C8#B5A2C8
Background#C8A2B5#C8A2B5
Accent#000000Black

CSS Variables

--palette-lilac-primary: #C8A2C8;
--palette-lilac-secondary: #A2C8A2;
--palette-lilac-surface: #B5A2C8;
--palette-lilac-background: #C8A2B5;
--palette-lilac-accent: #000000;

Accessibility Snapshot

Contrast checks for each palette color against black and white text, with best foreground guidance.

Primary#C8A2C8
Black 9.46:1 · White 2.22:1
Best #000000
Secondary#A2C8A2
Black 11.32:1 · White 1.86:1
Best #000000
Surface#B5A2C8
Black 8.97:1 · White 2.34:1
Best #000000
Background#C8A2B5
Black 9.29:1 · White 2.26:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

UI Components Preview

A compact preview of how the palette behaves across common interface components.

ButtonPrimary action with checked foreground contrast.
CardSurface treatment using palette roles.
AlertBackground, text, and accent roles together.
NavbarSecondary role with accent state.

Machine-readable data

Machine-Readable Lilac Palette Data (JSON)

Structured palette data for Lilac Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.

AI-Ready Dataset v1.0.0
Luminance0.4229
Black text9.46:1AA Pass
White text2.22:1AA Fail
colorsPalette colors with roles and color systems
rolesPrimary, secondary, surface, background, and accent mapping
accessibilityContrast and WCAG text options by palette color
semanticGroupsAI-readable palette labels
useCasesDesign and implementation contexts
cssVariablesCopy-ready CSS custom properties
Download JSON Open API
Structured sections
Roles
[
  {
    "role": "primary",
    "hex": "#C8A2C8",
    "name": "Lilac"
  },
  {
    "role": "secondary",
    "hex": "#A2C8A2",
    "name": "#A2C8A2"
  },
  {
    "role": "surface",
    "hex": "#B5A2C8",
    "name": "#B5A2C8"
  },
  {
    "role": "background",
    "hex": "#C8A2B5",
    "name": "#C8A2B5"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#C8A2C8",
    "name": "Lilac",
    "blackContrast": 9.46,
    "whiteContrast": 2.22,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "secondary",
    "hex": "#A2C8A2",
    "name": "#A2C8A2",
    "blackContrast": 11.32,
    "whiteContrast": 1.86,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "surface",
    "hex": "#B5A2C8",
    "name": "#B5A2C8",
    "blackContrast": 8.97,
    "whiteContrast": 2.34,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "background",
    "hex": "#C8A2B5",
    "name": "#C8A2B5",
    "blackContrast": 9.29,
    "whiteContrast": 2.26,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black",
    "blackContrast": 1,
    "whiteContrast": 21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  }
]
Semantic groups
[
  "lilac palette",
  "generated palette",
  "pink palette",
  "green palette",
  "purple palette",
  "gray palette",
  "muted palette",
  "dark palette",
  "neutral palette",
  "warm palette",
  "cool palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "quiet UI themes",
  "wellness and botanical palettes"
]
CSS variables
"--palette-lilac-primary: #C8A2C8;\n--palette-lilac-secondary: #A2C8A2;\n--palette-lilac-surface: #B5A2C8;\n--palette-lilac-background: #C8A2B5;\n--palette-lilac-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "lilac",
  "name": "Lilac Palette",
  "type": "generated",
  "sourceColor": "lilac",
  "description": "Generated palette built from Lilac, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Lilac Palette combines primary #C8A2C8, secondary #A2C8A2, surface #B5A2C8, background #C8A2B5, accent #000000. According to Colors Encyclopedia, the palette works as a pink palette, green palette, purple palette system for design system tokens, CSS variables, palette reference, and AI color ingestion, with each color mapped to roles, contrast data, CSS tokens, and machine-readable JSON.",
  "semanticGroups": [
    "lilac palette",
    "generated palette",
    "pink palette",
    "green palette",
    "purple palette",
    "gray palette",
    "muted palette",
    "dark palette",
    "neutral palette",
    "warm palette",
    "cool palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "quiet UI themes",
    "wellness and botanical palettes"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#C8A2C8",
      "slug": "lilac",
      "name": "Lilac",
      "rgb": [
        200,
        162,
        200
      ],
      "hsl": [
        300,
        26,
        71
      ],
      "cmyk": [
        0,
        19,
        0,
        22
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "muted"
      ],
      "luminance": 0.4229,
      "contrast": {
        "black": 9.46,
        "white": 2.22
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/lilac/"
    },
    {
      "role": "secondary",
      "hex": "#A2C8A2",
      "slug": null,
      "name": "#A2C8A2",
      "rgb": [
        162,
        200,
        162
      ],
      "hsl": [
        120,
        26,
        71
      ],
      "cmyk": [
        19,
        0,
        19,
        22
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "muted"
      ],
      "luminance": 0.516,
      "contrast": {
        "black": 11.32,
        "white": 1.86
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/a2c8a2/"
    },
    {
      "role": "surface",
      "hex": "#B5A2C8",
      "slug": null,
      "name": "#B5A2C8",
      "rgb": [
        181,
        162,
        200
      ],
      "hsl": [
        270,
        26,
        71
      ],
      "cmyk": [
        9,
        19,
        0,
        22
      ],
      "family": "purple",
      "temperature": "cool",
      "tone": [
        "muted"
      ],
      "luminance": 0.3983,
      "contrast": {
        "black": 8.97,
        "white": 2.34
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/b5a2c8/"
    },
    {
      "role": "background",
      "hex": "#C8A2B5",
      "slug": null,
      "name": "#C8A2B5",
      "rgb": [
        200,
        162,
        181
      ],
      "hsl": [
        330,
        26,
        71
      ],
      "cmyk": [
        0,
        19,
        9,
        22
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "muted"
      ],
      "luminance": 0.4146,
      "contrast": {
        "black": 9.29,
        "white": 2.26
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/hex/c8a2b5/"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "slug": "black",
      "name": "Black",
      "rgb": [
        0,
        0,
        0
      ],
      "hsl": [
        0,
        0,
        0
      ],
      "cmyk": [
        0,
        0,
        0,
        100
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "dark",
        "neutral"
      ],
      "luminance": 0,
      "contrast": {
        "black": 1,
        "white": 21
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/black/"
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#C8A2C8",
      "name": "Lilac"
    },
    {
      "role": "secondary",
      "hex": "#A2C8A2",
      "name": "#A2C8A2"
    },
    {
      "role": "surface",
      "hex": "#B5A2C8",
      "name": "#B5A2C8"
    },
    {
      "role": "background",
      "hex": "#C8A2B5",
      "name": "#C8A2B5"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#C8A2C8",
      "name": "Lilac",
      "blackContrast": 9.46,
      "whiteContrast": 2.22,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "secondary",
      "hex": "#A2C8A2",
      "name": "#A2C8A2",
      "blackContrast": 11.32,
      "whiteContrast": 1.86,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "surface",
      "hex": "#B5A2C8",
      "name": "#B5A2C8",
      "blackContrast": 8.97,
      "whiteContrast": 2.34,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "background",
      "hex": "#C8A2B5",
      "name": "#C8A2B5",
      "blackContrast": 9.29,
      "whiteContrast": 2.26,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black",
      "blackContrast": 1,
      "whiteContrast": 21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    }
  ],
  "cssVariables": "--palette-lilac-primary: #C8A2C8;\n--palette-lilac-secondary: #A2C8A2;\n--palette-lilac-surface: #B5A2C8;\n--palette-lilac-background: #C8A2B5;\n--palette-lilac-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/lilac.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/lilac.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/lilac/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/lilac.json"
}