Generated palette

Iris Palette

Iris Palette: #5A4FCF, #C4CF4F, #4F84CF, #994FCF. Check roles, contrast and CSS variables; open source-color links and JSON.

Iris Palette assigns primary #5A4FCF, secondary #C4CF4F, surface #4F84CF, background #994FCF, accent #FFFFFF. The set spans Blue, Yellow, Purple, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #5A4FCF at 0.1227 to #FFFFFF at 1; black gives higher contrast on 3 of 5 values.

5colors
Blue palettedominant group
6use cases

Palette Color Roles

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

Primary#5A4FCFIris
Secondary#C4CF4F#C4CF4F
Surface#4F84CF#4F84CF
Background#994FCF#994FCF
Accent#FFFFFFWhite

CSS Variables

--palette-iris-primary: #5A4FCF;
--palette-iris-secondary: #C4CF4F;
--palette-iris-surface: #4F84CF;
--palette-iris-background: #994FCF;
--palette-iris-accent: #FFFFFF;

Accessibility Snapshot

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

Primary#5A4FCF
Black 3.45:1 · White 6.08:1
Best #FFFFFF
Secondary#C4CF4F
Black 12.39:1 · White 1.7:1
Best #000000
Surface#4F84CF
Black 5.53:1 · White 3.79:1
Best #000000
Background#994FCF
Black 4.37:1 · White 4.8:1
Best #FFFFFF
Accent#FFFFFF
Black 21:1 · White 1:1
Best #000000

UI Components Preview

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

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

AI-Ready Dataset v1.0.0
Luminance0.1227
Black text3.45:1AA Fail
White text6.08:1AA Pass
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": "#5A4FCF",
    "name": "Iris"
  },
  {
    "role": "secondary",
    "hex": "#C4CF4F",
    "name": "#C4CF4F"
  },
  {
    "role": "surface",
    "hex": "#4F84CF",
    "name": "#4F84CF"
  },
  {
    "role": "background",
    "hex": "#994FCF",
    "name": "#994FCF"
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White"
  }
]
Accessibility
[
  {
    "role": "primary",
    "hex": "#5A4FCF",
    "name": "Iris",
    "blackContrast": 3.45,
    "whiteContrast": 6.08,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "secondary",
    "hex": "#C4CF4F",
    "name": "#C4CF4F",
    "blackContrast": 12.39,
    "whiteContrast": 1.7,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A"
    ]
  },
  {
    "role": "surface",
    "hex": "#4F84CF",
    "name": "#4F84CF",
    "blackContrast": 5.53,
    "whiteContrast": 3.79,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "background",
    "hex": "#994FCF",
    "name": "#994FCF",
    "blackContrast": 4.37,
    "whiteContrast": 4.8,
    "bestTextColor": "#FFFFFF",
    "aaTextOptions": [
      "#FFFFFF"
    ],
    "aaaTextOptions": []
  },
  {
    "role": "accent",
    "hex": "#FFFFFF",
    "name": "White",
    "blackContrast": 21,
    "whiteContrast": 1,
    "bestTextColor": "#000000",
    "aaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ],
    "aaaTextOptions": [
      "#000000",
      "#1A1A1A",
      "#36454F"
    ]
  }
]
Semantic groups
[
  "iris palette",
  "generated palette",
  "blue palette",
  "yellow palette",
  "purple palette",
  "gray palette",
  "balanced palette",
  "earth tone palette",
  "light palette",
  "neutral palette",
  "cool palette",
  "warm palette"
]
Use cases
[
  "design system tokens",
  "CSS variables",
  "palette reference",
  "AI color ingestion",
  "natural branding",
  "calm digital interfaces"
]
CSS variables
"--palette-iris-primary: #5A4FCF;\n--palette-iris-secondary: #C4CF4F;\n--palette-iris-surface: #4F84CF;\n--palette-iris-background: #994FCF;\n--palette-iris-accent: #FFFFFF;"
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "iris",
  "name": "Iris Palette",
  "type": "generated",
  "sourceColor": "iris",
  "description": "Generated palette built from Iris, its harmonies, a high-contrast pairing, and a light variant.",
  "narrative": "Iris Palette combines primary #5A4FCF, secondary #C4CF4F, surface #4F84CF, background #994FCF, accent #FFFFFF. 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": [
    "iris palette",
    "generated palette",
    "blue palette",
    "yellow palette",
    "purple palette",
    "gray palette",
    "balanced palette",
    "earth tone palette",
    "light palette",
    "neutral palette",
    "cool palette",
    "warm palette"
  ],
  "useCases": [
    "design system tokens",
    "CSS variables",
    "palette reference",
    "AI color ingestion",
    "natural branding",
    "calm digital interfaces"
  ],
  "colors": [
    {
      "role": "primary",
      "hex": "#5A4FCF",
      "slug": "iris",
      "name": "Iris",
      "rgb": [
        90,
        79,
        207
      ],
      "hsl": [
        245,
        57,
        56
      ],
      "cmyk": [
        57,
        62,
        0,
        19
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "balanced"
      ],
      "luminance": 0.1227,
      "contrast": {
        "black": 3.45,
        "white": 6.08
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": []
      },
      "url": "https://www.colorsencyclopedia.com/colors/iris/"
    },
    {
      "role": "secondary",
      "hex": "#C4CF4F",
      "slug": null,
      "name": "#C4CF4F",
      "rgb": [
        196,
        207,
        79
      ],
      "hsl": [
        65,
        57,
        56
      ],
      "cmyk": [
        5,
        0,
        62,
        19
      ],
      "family": "yellow",
      "temperature": "warm",
      "tone": [
        "earth-tone"
      ],
      "luminance": 0.5693,
      "contrast": {
        "black": 12.39,
        "white": 1.7
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A"
        ]
      },
      "url": null
    },
    {
      "role": "surface",
      "hex": "#4F84CF",
      "slug": null,
      "name": "#4F84CF",
      "rgb": [
        79,
        132,
        207
      ],
      "hsl": [
        215,
        57,
        56
      ],
      "cmyk": [
        62,
        36,
        0,
        19
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "balanced"
      ],
      "luminance": 0.2267,
      "contrast": {
        "black": 5.53,
        "white": 3.79
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "background",
      "hex": "#994FCF",
      "slug": null,
      "name": "#994FCF",
      "rgb": [
        153,
        79,
        207
      ],
      "hsl": [
        275,
        57,
        56
      ],
      "cmyk": [
        26,
        62,
        0,
        19
      ],
      "family": "purple",
      "temperature": "cool",
      "tone": [
        "balanced"
      ],
      "luminance": 0.1687,
      "contrast": {
        "black": 4.37,
        "white": 4.8
      },
      "wcag": {
        "AA": [
          "#FFFFFF"
        ],
        "AAA": []
      },
      "url": null
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "slug": "white",
      "name": "White",
      "rgb": [
        255,
        255,
        255
      ],
      "hsl": [
        0,
        0,
        100
      ],
      "cmyk": [
        0,
        0,
        0,
        0
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "light",
        "neutral"
      ],
      "luminance": 1,
      "contrast": {
        "black": 21,
        "white": 1
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "url": "https://www.colorsencyclopedia.com/colors/white/"
    }
  ],
  "roles": [
    {
      "role": "primary",
      "hex": "#5A4FCF",
      "name": "Iris"
    },
    {
      "role": "secondary",
      "hex": "#C4CF4F",
      "name": "#C4CF4F"
    },
    {
      "role": "surface",
      "hex": "#4F84CF",
      "name": "#4F84CF"
    },
    {
      "role": "background",
      "hex": "#994FCF",
      "name": "#994FCF"
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White"
    }
  ],
  "accessibility": [
    {
      "role": "primary",
      "hex": "#5A4FCF",
      "name": "Iris",
      "blackContrast": 3.45,
      "whiteContrast": 6.08,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "secondary",
      "hex": "#C4CF4F",
      "name": "#C4CF4F",
      "blackContrast": 12.39,
      "whiteContrast": 1.7,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A"
      ]
    },
    {
      "role": "surface",
      "hex": "#4F84CF",
      "name": "#4F84CF",
      "blackContrast": 5.53,
      "whiteContrast": 3.79,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "background",
      "hex": "#994FCF",
      "name": "#994FCF",
      "blackContrast": 4.37,
      "whiteContrast": 4.8,
      "bestTextColor": "#FFFFFF",
      "aaTextOptions": [
        "#FFFFFF"
      ],
      "aaaTextOptions": []
    },
    {
      "role": "accent",
      "hex": "#FFFFFF",
      "name": "White",
      "blackContrast": 21,
      "whiteContrast": 1,
      "bestTextColor": "#000000",
      "aaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "aaaTextOptions": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    }
  ],
  "cssVariables": "--palette-iris-primary: #5A4FCF;\n--palette-iris-secondary: #C4CF4F;\n--palette-iris-surface: #4F84CF;\n--palette-iris-background: #994FCF;\n--palette-iris-accent: #FFFFFF;",
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/palettes/iris.json",
    "https://www.colorsencyclopedia.com/api/palettes.json",
    "https://www.colorsencyclopedia.com/api/colors/iris.json"
  ],
  "url": "https://www.colorsencyclopedia.com/palettes/iris/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/palettes/iris.json"
}