Generated palette

Violet Palette

Violet Palette: #EE82EE, #81EE81, #B881EE, #EE81B8. Check roles, contrast and CSS variables; open source-color links and JSON.

Violet Palette assigns primary #EE82EE, secondary #81EE81, surface #B881EE, background #EE81B8, accent #000000. The set spans Pink, Green, Purple, and Gray families with warm, cool, and neutral temperatures. Luminance runs from #000000 at 0 to #81EE81 at 0.674; black gives higher contrast on 4 of 5 values.

5colors
Pink palettedominant group
5use cases

Palette Color Roles

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

Primary#EE82EEViolet
Secondary#81EE81#81EE81
Surface#B881EE#B881EE
Background#EE81B8#EE81B8
Accent#000000Black

CSS Variables

--palette-violet-primary: #EE82EE;
--palette-violet-secondary: #81EE81;
--palette-violet-surface: #B881EE;
--palette-violet-background: #EE81B8;
--palette-violet-accent: #000000;

Accessibility Snapshot

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

Primary#EE82EE
Black 9.06:1 · White 2.32:1
Best #000000
Secondary#81EE81
Black 14.48:1 · White 1.45:1
Best #000000
Surface#B881EE
Black 7.41:1 · White 2.83:1
Best #000000
Background#EE81B8
Black 8.47:1 · White 2.48:1
Best #000000
Accent#000000
Black 1:1 · White 21:1
Best #FFFFFF

UI Components Preview

Preview how the Violet 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 Violet Palette Data (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.4032
Black text9.06:1AA Pass
White text2.32: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": "#EE82EE",
    "name": "Violet"
  },
  {
    "role": "secondary",
    "hex": "#81EE81",
    "name": "#81EE81"
  },
  {
    "role": "surface",
    "hex": "#B881EE",
    "name": "#B881EE"
  },
  {
    "role": "background",
    "hex": "#EE81B8",
    "name": "#EE81B8"
  },
  {
    "role": "accent",
    "hex": "#000000",
    "name": "Black"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#EE82EE",
    "name": "Violet",
    "blackContrast": 9.06,
    "whiteContrast": 2.32,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "secondary",
    "hex": "#81EE81",
    "name": "#81EE81",
    "blackContrast": 14.48,
    "whiteContrast": 1.45,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "surface",
    "hex": "#B881EE",
    "name": "#B881EE",
    "blackContrast": 7.41,
    "whiteContrast": 2.83,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": [
      "#000000"
    ]
  },
  {
    "role": "background",
    "hex": "#EE81B8",
    "name": "#EE81B8",
    "blackContrast": 8.47,
    "whiteContrast": 2.48,
    "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
[
  "violet palette",
  "generated palette",
  "pink palette",
  "green palette",
  "purple palette",
  "gray palette",
  "vibrant palette",
  "dark palette",
  "neutral palette",
  "warm palette",
  "cool palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "wellness and botanical palettes"
]
CSS variables
"--palette-violet-primary: #EE82EE;\n--palette-violet-secondary: #81EE81;\n--palette-violet-surface: #B881EE;\n--palette-violet-background: #EE81B8;\n--palette-violet-accent: #000000;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "violet",
  "name": "Violet Palette",
  "type": "generated",
  "sourceColor": "violet",
  "description": "Generated palette built from Violet, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Violet Palette combines primary #EE82EE, secondary #81EE81, surface #B881EE, background #EE81B8, 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": [
    "violet palette",
    "generated palette",
    "pink palette",
    "green palette",
    "purple palette",
    "gray palette",
    "vibrant palette",
    "dark palette",
    "neutral palette",
    "warm palette",
    "cool palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "wellness and botanical palettes"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#EE82EE",
      "slug": "violet",
      "name": "Violet",
      "rgb": [
        238,
        130,
        238
      ],
      "hsl": [
        300,
        76,
        72
      ],
      "cmyk": [
        0,
        45,
        0,
        7
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.4032,
      "contrast": {
        "black": 9.06,
        "white": 2.32
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/violet/"
    },
    {
      "role": "secondary",
      "hex": "#81EE81",
      "slug": null,
      "name": "#81EE81",
      "rgb": [
        129,
        238,
        129
      ],
      "hsl": [
        120,
        76,
        72
      ],
      "cmyk": [
        46,
        0,
        46,
        7
      ],
      "family": "green",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.674,
      "contrast": {
        "black": 14.48,
        "white": 1.45
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#B881EE",
      "slug": null,
      "name": "#B881EE",
      "rgb": [
        184,
        129,
        238
      ],
      "hsl": [
        270,
        76,
        72
      ],
      "cmyk": [
        23,
        46,
        0,
        7
      ],
      "family": "purple",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.3206,
      "contrast": {
        "black": 7.41,
        "white": 2.83
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": [
          "#000000"
        ]
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#EE81B8",
      "slug": null,
      "name": "#EE81B8",
      "rgb": [
        238,
        129,
        184
      ],
      "hsl": [
        330,
        76,
        72
      ],
      "cmyk": [
        0,
        46,
        23,
        7
      ],
      "family": "pink",
      "temperature": "warm",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.3734,
      "contrast": {
        "black": 8.47,
        "white": 2.48
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "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": "#EE82EE",
      "name": "Violet"
    },
    {
      "role": "secondary",
      "hex": "#81EE81",
      "name": "#81EE81"
    },
    {
      "role": "surface",
      "hex": "#B881EE",
      "name": "#B881EE"
    },
    {
      "role": "background",
      "hex": "#EE81B8",
      "name": "#EE81B8"
    },
    {
      "role": "accent",
      "hex": "#000000",
      "name": "Black"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#EE82EE",
      "name": "Violet",
      "blackContrast": 9.06,
      "whiteContrast": 2.32,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "secondary",
      "hex": "#81EE81",
      "name": "#81EE81",
      "blackContrast": 14.48,
      "whiteContrast": 1.45,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "surface",
      "hex": "#B881EE",
      "name": "#B881EE",
      "blackContrast": 7.41,
      "whiteContrast": 2.83,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": [
        "#000000"
      ]
    },
    {
      "role": "background",
      "hex": "#EE81B8",
      "name": "#EE81B8",
      "blackContrast": 8.47,
      "whiteContrast": 2.48,
      "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-violet-primary: #EE82EE;\n--palette-violet-secondary: #81EE81;\n--palette-violet-surface: #B881EE;\n--palette-violet-background: #EE81B8;\n--palette-violet-accent: #000000;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/violet.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/violet.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/violet/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/violet.json"
}