Generated palette
Lavender Palette
Lavender Palette: #E6E6FA, #FAFAE5, #E5F0FA, #F0E5FA. Check roles, contrast and CSS variables; open source-color links and JSON.
Lavender Palette assigns primary #E6E6FA, secondary #FAFAE5, surface #E5F0FA, background #F0E5FA, accent #000000. The set spans Purple, Yellow, Blue, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #000000 at 0 to #FAFAE5 at 0.9435; black gives higher contrast on 4 of 5 values.
Palette Color Roles
Lavender Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#E6E6FALavender#FAFAE5#FAFAE5#E5F0FA#E5F0FA#F0E5FA#F0E5FA#000000BlackCSS Variables
--palette-lavender-primary: #E6E6FA; --palette-lavender-secondary: #FAFAE5; --palette-lavender-surface: #E5F0FA; --palette-lavender-background: #F0E5FA; --palette-lavender-accent: #000000;
Accessibility Snapshot
Compare all 5 Lavender Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Lavender Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Lavender Palette Data (JSON)
Structured palette data for Lavender Palette, including color roles, accessibility, semantic groups, use cases, CSS variables, and API links.
colorsPalette colors with roles and color systemsrolesPrimary, secondary, surface, background, and accent mappingaccessibilityContrast and WCAG text options by palette colorsemanticGroupsAI-readable palette labelsuseCasesDesign and implementation contextscssVariablesCopy-ready CSS custom propertiesStructured sections
Roles
[
{
"role": "primary",
"hex": "#E6E6FA",
"name": "Lavender"
},
{
"role": "secondary",
"hex": "#FAFAE5",
"name": "#FAFAE5"
},
{
"role": "surface",
"hex": "#E5F0FA",
"name": "#E5F0FA"
},
{
"role": "background",
"hex": "#F0E5FA",
"name": "#F0E5FA"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
]Accessibility
[
{
"role": "primary",
"hex": "#E6E6FA",
"name": "Lavender",
"blackContrast": 17.06,
"whiteContrast": 1.23,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "secondary",
"hex": "#FAFAE5",
"name": "#FAFAE5",
"blackContrast": 19.87,
"whiteContrast": 1.06,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "surface",
"hex": "#E5F0FA",
"name": "#E5F0FA",
"blackContrast": 18.18,
"whiteContrast": 1.16,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "background",
"hex": "#F0E5FA",
"name": "#F0E5FA",
"blackContrast": 17.29,
"whiteContrast": 1.21,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
]Semantic groups
[
"lavender palette",
"generated palette",
"purple palette",
"yellow palette",
"blue palette",
"gray palette",
"pastel palette",
"light 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-lavender-primary: #E6E6FA;\n--palette-lavender-secondary: #FAFAE5;\n--palette-lavender-surface: #E5F0FA;\n--palette-lavender-background: #F0E5FA;\n--palette-lavender-accent: #000000;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "lavender",
"name": "Lavender Palette",
"type": "generated",
"sourceColor": "lavender",
"description": "Generated palette built from Lavender, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Lavender Palette combines primary #E6E6FA, secondary #FAFAE5, surface #E5F0FA, background #F0E5FA, accent #000000. According to Colors Encyclopedia, the palette works as a purple palette, yellow palette, blue 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": [
"lavender palette",
"generated palette",
"purple palette",
"yellow palette",
"blue palette",
"gray palette",
"pastel palette",
"light 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": "#E6E6FA",
"slug": "lavender",
"name": "Lavender",
"rgb": [
230,
230,
250
],
"hsl": [
240,
67,
94
],
"cmyk": [
8,
8,
0,
2
],
"family": "purple",
"temperature": "cool",
"tone": [
"pastel",
"light"
],
"luminance": 0.8032,
"contrast": {
"black": 17.06,
"white": 1.23
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"url": "https://www.colorsencyclopedia.com/colors/lavender/"
},
{
"role": "secondary",
"hex": "#FAFAE5",
"slug": null,
"name": "#FAFAE5",
"rgb": [
250,
250,
229
],
"hsl": [
60,
68,
94
],
"cmyk": [
0,
0,
8,
2
],
"family": "yellow",
"temperature": "warm",
"tone": [
"light"
],
"luminance": 0.9435,
"contrast": {
"black": 19.87,
"white": 1.06
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"url": null
},
{
"role": "surface",
"hex": "#E5F0FA",
"slug": null,
"name": "#E5F0FA",
"rgb": [
229,
240,
250
],
"hsl": [
209,
68,
94
],
"cmyk": [
8,
4,
0,
2
],
"family": "blue",
"temperature": "cool",
"tone": [
"light"
],
"luminance": 0.8588,
"contrast": {
"black": 18.18,
"white": 1.16
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"url": null
},
{
"role": "background",
"hex": "#F0E5FA",
"slug": null,
"name": "#F0E5FA",
"rgb": [
240,
229,
250
],
"hsl": [
271,
68,
94
],
"cmyk": [
4,
8,
0,
2
],
"family": "purple",
"temperature": "cool",
"tone": [
"light"
],
"luminance": 0.8147,
"contrast": {
"black": 17.29,
"white": 1.21
},
"wcag": {
"AA": [
"#000000",
"#1A1A1A",
"#36454F"
],
"AAA": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
"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": "#E6E6FA",
"name": "Lavender"
},
{
"role": "secondary",
"hex": "#FAFAE5",
"name": "#FAFAE5"
},
{
"role": "surface",
"hex": "#E5F0FA",
"name": "#E5F0FA"
},
{
"role": "background",
"hex": "#F0E5FA",
"name": "#F0E5FA"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#E6E6FA",
"name": "Lavender",
"blackContrast": 17.06,
"whiteContrast": 1.23,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "secondary",
"hex": "#FAFAE5",
"name": "#FAFAE5",
"blackContrast": 19.87,
"whiteContrast": 1.06,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "surface",
"hex": "#E5F0FA",
"name": "#E5F0FA",
"blackContrast": 18.18,
"whiteContrast": 1.16,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "background",
"hex": "#F0E5FA",
"name": "#F0E5FA",
"blackContrast": 17.29,
"whiteContrast": 1.21,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
],
"aaaTextOptions": [
"#000000",
"#1A1A1A",
"#36454F"
]
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
],
"cssVariables": "--palette-lavender-primary: #E6E6FA;\n--palette-lavender-secondary: #FAFAE5;\n--palette-lavender-surface: #E5F0FA;\n--palette-lavender-background: #F0E5FA;\n--palette-lavender-accent: #000000;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/lavender.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/lavender.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/lavender/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/lavender.json"
}