Generated palette
Alexandrite Palette
Alexandrite Palette: #3D8B74, #8A3D54, #3D8A4C, #3D7B8A. Check roles, contrast and CSS variables; open source-color links and JSON.
Alexandrite Palette assigns primary #3D8B74, secondary #8A3D54, surface #3D8A4C, background #3D7B8A, accent #000000. The set spans Green, Pink, Cyan, and Gray families with cool, warm, and neutral temperatures. Luminance runs from #000000 at 0 to #3D8B74 at 0.2072; black gives higher contrast on 2 of 5 values.
Palette Color Roles
Alexandrite Palette maps 5 colors to practical UI roles for interfaces, brand systems, and CSS tokens.
#3D8B74Alexandrite#8A3D54#8A3D54#3D8A4C#3D8A4C#3D7B8A#3D7B8A#000000BlackCSS Variables
--palette-alexandrite-primary: #3D8B74; --palette-alexandrite-secondary: #8A3D54; --palette-alexandrite-surface: #3D8A4C; --palette-alexandrite-background: #3D7B8A; --palette-alexandrite-accent: #000000;
Accessibility Snapshot
Compare all 5 Alexandrite Palette values against black and white text, with the stronger standard foreground identified for each role.
UI Components Preview
Preview how the Alexandrite Palette roles behave together across common interface components before copying the CSS variables.
Machine-readable data
Machine-Readable Alexandrite Palette Data (JSON)
Structured palette data for Alexandrite 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": "#3D8B74",
"name": "Alexandrite"
},
{
"role": "secondary",
"hex": "#8A3D54",
"name": "#8A3D54"
},
{
"role": "surface",
"hex": "#3D8A4C",
"name": "#3D8A4C"
},
{
"role": "background",
"hex": "#3D7B8A",
"name": "#3D7B8A"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
]Accessibility
[
{
"role": "primary",
"hex": "#3D8B74",
"name": "Alexandrite",
"blackContrast": 5.14,
"whiteContrast": 4.08,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#8A3D54",
"name": "#8A3D54",
"blackContrast": 2.88,
"whiteContrast": 7.3,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF"
]
},
{
"role": "surface",
"hex": "#3D8A4C",
"name": "#3D8A4C",
"blackContrast": 4.94,
"whiteContrast": 4.25,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#3D7B8A",
"name": "#3D7B8A",
"blackContrast": 4.4,
"whiteContrast": 4.77,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
]Semantic groups
[
"alexandrite palette",
"generated palette",
"green palette",
"pink palette",
"cyan palette",
"gray palette",
"earth tone palette",
"balanced palette",
"dark palette",
"neutral palette",
"cool palette",
"warm palette"
]Use cases
[
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"natural branding",
"wellness and botanical palettes"
]CSS variables
"--palette-alexandrite-primary: #3D8B74;\n--palette-alexandrite-secondary: #8A3D54;\n--palette-alexandrite-surface: #3D8A4C;\n--palette-alexandrite-background: #3D7B8A;\n--palette-alexandrite-accent: #000000;"Full JSON dataset
{
"datasetVersion": "1.0.0",
"slug": "alexandrite",
"name": "Alexandrite Palette",
"type": "generated",
"sourceColor": "alexandrite",
"description": "Generated palette built from Alexandrite, its harmonies, a high-contrast pairing, and a light variant.",
"narrative": "Alexandrite Palette combines primary #3D8B74, secondary #8A3D54, surface #3D8A4C, background #3D7B8A, accent #000000. According to Colors Encyclopedia, the palette works as a green palette, pink palette, cyan 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": [
"alexandrite palette",
"generated palette",
"green palette",
"pink palette",
"cyan palette",
"gray palette",
"earth tone palette",
"balanced palette",
"dark palette",
"neutral palette",
"cool palette",
"warm palette"
],
"useCases": [
"design system tokens",
"CSS variables",
"palette reference",
"AI color ingestion",
"natural branding",
"wellness and botanical palettes"
],
"colors": [
{
"role": "primary",
"hex": "#3D8B74",
"slug": "alexandrite",
"name": "Alexandrite",
"rgb": [
61,
139,
116
],
"hsl": [
162,
39,
39
],
"cmyk": [
56,
0,
17,
45
],
"family": "green",
"temperature": "cool",
"tone": [
"earth-tone"
],
"luminance": 0.2072,
"contrast": {
"black": 5.14,
"white": 4.08
},
"wcag": {
"AA": [
"#000000"
],
"AAA": []
},
"url": "https://www.colorsencyclopedia.com/colors/alexandrite/"
},
{
"role": "secondary",
"hex": "#8A3D54",
"slug": null,
"name": "#8A3D54",
"rgb": [
138,
61,
84
],
"hsl": [
342,
39,
39
],
"cmyk": [
0,
56,
39,
46
],
"family": "pink",
"temperature": "warm",
"tone": [
"balanced"
],
"luminance": 0.0938,
"contrast": {
"black": 2.88,
"white": 7.3
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": [
"#FFFFFF"
]
},
"url": null
},
{
"role": "surface",
"hex": "#3D8A4C",
"slug": null,
"name": "#3D8A4C",
"rgb": [
61,
138,
76
],
"hsl": [
132,
39,
39
],
"cmyk": [
56,
0,
45,
46
],
"family": "green",
"temperature": "cool",
"tone": [
"earth-tone"
],
"luminance": 0.1969,
"contrast": {
"black": 4.94,
"white": 4.25
},
"wcag": {
"AA": [
"#000000"
],
"AAA": []
},
"url": null
},
{
"role": "background",
"hex": "#3D7B8A",
"slug": null,
"name": "#3D7B8A",
"rgb": [
61,
123,
138
],
"hsl": [
192,
39,
39
],
"cmyk": [
56,
11,
0,
46
],
"family": "cyan",
"temperature": "cool",
"tone": [
"balanced"
],
"luminance": 0.1699,
"contrast": {
"black": 4.4,
"white": 4.77
},
"wcag": {
"AA": [
"#FFFFFF"
],
"AAA": []
},
"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": "#3D8B74",
"name": "Alexandrite"
},
{
"role": "secondary",
"hex": "#8A3D54",
"name": "#8A3D54"
},
{
"role": "surface",
"hex": "#3D8A4C",
"name": "#3D8A4C"
},
{
"role": "background",
"hex": "#3D7B8A",
"name": "#3D7B8A"
},
{
"role": "accent",
"hex": "#000000",
"name": "Black"
}
],
"accessibility": [
{
"role": "primary",
"hex": "#3D8B74",
"name": "Alexandrite",
"blackContrast": 5.14,
"whiteContrast": 4.08,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "secondary",
"hex": "#8A3D54",
"name": "#8A3D54",
"blackContrast": 2.88,
"whiteContrast": 7.3,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF"
]
},
{
"role": "surface",
"hex": "#3D8A4C",
"name": "#3D8A4C",
"blackContrast": 4.94,
"whiteContrast": 4.25,
"bestTextColor": "#000000",
"aaTextOptions": [
"#000000"
],
"aaaTextOptions": []
},
{
"role": "background",
"hex": "#3D7B8A",
"name": "#3D7B8A",
"blackContrast": 4.4,
"whiteContrast": 4.77,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF"
],
"aaaTextOptions": []
},
{
"role": "accent",
"hex": "#000000",
"name": "Black",
"blackContrast": 1,
"whiteContrast": 21,
"bestTextColor": "#FFFFFF",
"aaTextOptions": [
"#FFFFFF",
"#F5F5F5"
],
"aaaTextOptions": [
"#FFFFFF",
"#F5F5F5"
]
}
],
"cssVariables": "--palette-alexandrite-primary: #3D8B74;\n--palette-alexandrite-secondary: #8A3D54;\n--palette-alexandrite-surface: #3D8A4C;\n--palette-alexandrite-background: #3D7B8A;\n--palette-alexandrite-accent: #000000;",
"relatedEndpoints": [
"https://www.colorsencyclopedia.com/api/palettes/alexandrite.json",
"https://www.colorsencyclopedia.com/api/palettes.json",
"https://www.colorsencyclopedia.com/api/colors/alexandrite.json"
],
"url": "https://www.colorsencyclopedia.com/palettes/alexandrite/",
"apiUrl": "https://www.colorsencyclopedia.com/api/palettes/alexandrite.json"
}