Generated palette

Periwinkle Palette

Periwinkle Palette: #CCCCFF, #FFFFCC, #CCE5FF, #E5CCFF. Check roles, contrast and CSS variables; open source-color links and JSON.

Periwinkle Palette assigns primary #CCCCFF, secondary #FFFFCC, surface #CCE5FF, background #E5CCFF, accent #000000. The set spans Blue, Yellow, Purple, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #000000 at 0 to #FFFFCC at 0.9714; black gives higher contrast on 4 of 5 values.

5colors
Blue palettedominant group
6use cases

Palette Color Roles

Periwinkle Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.

Primary#CCCCFFPeriwinkle
Secondary#FFFFCC#FFFFCC
Surface#CCE5FF#CCE5FF
Background#E5CCFF#E5CCFF
Accent#000000Black

CSS Variables

--palette-periwinkle-primary: #CCCCFF;
--palette-periwinkle-secondary: #FFFFCC;
--palette-periwinkle-surface: #CCE5FF;
--palette-periwinkle-background: #E5CCFF;
--palette-periwinkle-accent: #000000;

Accessibility Snapshot

Compare all 5 Periwinkle Palette values against black and white text, with the stronger standard foreground identified for each role.

Primary#CCCCFF
Black 13.65:1 · White 1.54:1
Best #000000
Secondary#FFFFCC
Black 20.43:1 · White 1.03:1
Best #000000
Surface#CCE5FF
Black 16.22:1 · White 1.29:1
Best #000000
Background#E5CCFF
Black 14.41:1 · White 1.46:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

UI Components Preview

Preview how the Periwinkle Palette roles behave together across common interface components before copying the CSS variables.

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 Periwinkle Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.6324
Black text13.65:1AA Pass
White text1.54: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": "#CCCCFF",
    "name": "Periwinkle"
  },
  {
    "role": "secondary",
    "hex": "#FFFFCC",
    "name": "#FFFFCC"
  },
  {
    "role": "surface",
    "hex": "#CCE5FF",
    "name": "#CCE5FF"
  },
  {
    "role": "background",
    "hex": "#E5CCFF",
    "name": "#E5CCFF"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#CCCCFF",
    "name": "Periwinkle",
    "blackContrast": 13.65,
    "whiteContrast": 1.54,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "secondary",
    "hex": "#FFFFCC",
    "name": "#FFFFCC",
    "blackContrast": 20.43,
    "whiteContrast": 1.03,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "surface",
    "hex": "#CCE5FF",
    "name": "#CCE5FF",
    "blackContrast": 16.22,
    "whiteContrast": 1.29,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  },
  {
    "role": "background",
    "hex": "#E5CCFF",
    "name": "#E5CCFF",
    "blackContrast": 14.41,
    "whiteContrast": 1.46,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black",
    "blackContrast": 1,
    "whiteContrast": 21,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  }
]
Semantic groups
[
  "periwinkle palette",
  "generated palette",
  "blue palette",
  "yellow palette",
  "purple palette",
  "gray palette",
  "light palette",
  "pastel palette",
  "dark palette",
  "neutral palette",
  "cool palette",
  "warm palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "soft backgrounds",
  "calm digital interfaces"
]
CSS variables
"--palette-periwinkle-primary: #CCCCFF;\n--palette-periwinkle-secondary: #FFFFCC;\n--palette-periwinkle-surface: #CCE5FF;\n--palette-periwinkle-background: #E5CCFF;\n--palette-periwinkle-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "periwinkle",
  "name": "Periwinkle Palette",
  "type": "generated",
  "sourceColor": "periwinkle",
  "description": "Generated palette built from Periwinkle, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Periwinkle Palette combines primary #CCCCFF, secondary #FFFFCC, surface #CCE5FF, background #E5CCFF, accent #000000. According to Colors Encyclopedia, the palette works as a blue palette, yellow 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": [
    "periwinkle palette",
    "generated palette",
    "blue palette",
    "yellow palette",
    "purple palette",
    "gray palette",
    "light palette",
    "pastel palette",
    "dark palette",
    "neutral palette",
    "cool palette",
    "warm palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "soft backgrounds",
    "calm digital interfaces"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#CCCCFF",
      "slug": "periwinkle",
      "name": "Periwinkle",
      "rgb": [
        204,
        204,
        255
      ],
      "hsl": [
        240,
        100,
        90
      ],
      "cmyk": [
        20,
        20,
        0,
        0
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "light",
        "pastel"
      ],
      "luminance": 0.6324,
      "contrast": {
        "black": 13.65,
        "white": 1.54
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/periwinkle/"
    },
    {
      "role": "secondary",
      "hex": "#FFFFCC",
      "slug": null,
      "name": "#FFFFCC",
      "rgb": [
        255,
        255,
        204
      ],
      "hsl": [
        60,
        100,
        90
      ],
      "cmyk": [
        0,
        0,
        20,
        0
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "light",
        "pastel"
      ],
      "luminance": 0.9714,
      "contrast": {
        "black": 20.43,
        "white": 1.03
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#CCE5FF",
      "slug": null,
      "name": "#CCE5FF",
      "rgb": [
        204,
        229,
        255
      ],
      "hsl": [
        211,
        100,
        90
      ],
      "cmyk": [
        20,
        10,
        0,
        0
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "light",
        "pastel"
      ],
      "luminance": 0.761,
      "contrast": {
        "black": 16.22,
        "white": 1.29
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#E5CCFF",
      "slug": null,
      "name": "#E5CCFF",
      "rgb": [
        229,
        204,
        255
      ],
      "hsl": [
        269,
        100,
        90
      ],
      "cmyk": [
        10,
        20,
        0,
        0
      ],
      "family": "purple",
      "temperature": "cool",
      "tone": [
        "light",
        "pastel"
      ],
      "luminance": 0.6706,
      "contrast": {
        "black": 14.41,
        "white": 1.46
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": null
    },
    {
      "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": "#CCCCFF",
      "name": "Periwinkle"
    },
    {
      "role": "secondary",
      "hex": "#FFFFCC",
      "name": "#FFFFCC"
    },
    {
      "role": "surface",
      "hex": "#CCE5FF",
      "name": "#CCE5FF"
    },
    {
      "role": "background",
      "hex": "#E5CCFF",
      "name": "#E5CCFF"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#CCCCFF",
      "name": "Periwinkle",
      "blackContrast": 13.65,
      "whiteContrast": 1.54,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "secondary",
      "hex": "#FFFFCC",
      "name": "#FFFFCC",
      "blackContrast": 20.43,
      "whiteContrast": 1.03,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "surface",
      "hex": "#CCE5FF",
      "name": "#CCE5FF",
      "blackContrast": 16.22,
      "whiteContrast": 1.29,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    {
      "role": "background",
      "hex": "#E5CCFF",
      "name": "#E5CCFF",
      "blackContrast": 14.41,
      "whiteContrast": 1.46,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black",
      "blackContrast": 1,
      "whiteContrast": 21,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    }
  ],
  "cssVariables": "--palette-periwinkle-primary: #CCCCFF;\n--palette-periwinkle-secondary: #FFFFCC;\n--palette-periwinkle-surface: #CCE5FF;\n--palette-periwinkle-background: #E5CCFF;\n--palette-periwinkle-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/periwinkle.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/periwinkle.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/periwinkle/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/periwinkle.json"
}