Nearest-color comparison

Lavender vs Mercury

Lavender #E6E6FA vs Mercury #EBEBEB: RGB distance 16.6 and contrast 1.03:1. Compare hue, luminance, saturation, WCAG and practical use.

Lavender and Mercury are very close, with an RGB distance of 16.6. Mercury is lighter by 0.0276, and Lavender is more saturated by 67 percentage points. Their mutual contrast is 1.03:1. The pair is too close for a readable foreground/background combination and works better as neighboring palette colors.

Lavender#E6E6FA
Mercury#EBEBEB

Quick Difference Summary

The main measurable differences between Lavender and Mercury across RGB distance, luminance, hue, saturation, and contrast.

RGB distance16.6
Pair contrast1.03:1
Luminance delta0.0276
Hue delta240 deg
Lighter colorMercury
More saturatedLavender

Side-by-Side Color Profiles

purple color

Lavender

Lavender is #E6E6FA, a cool purple with hue 240°, saturation 67% and luminance 0.8032. Beside Mercury, it is darker and more saturated. Of the two standard text choices, black text gives the higher contrast at 17.06:1.

HEX#E6E6FA RGB230, 230, 250 HSL240, 67, 94 CMYK8, 8, 0, 2 Luminance0.8032 Best textblack text

gray color

Mercury

Mercury is #EBEBEB, a neutral gray with hue 0°, saturation 0% and luminance 0.8308. Beside Lavender, it is lighter and less saturated. Of the two standard text choices, black text gives the higher contrast at 17.62:1.

HEX#EBEBEB RGB235, 235, 235 HSL0, 0, 92 CMYK0, 0, 0, 8 Luminance0.8308 Best textblack text

When to Use Lavender or Mercury

Choose LavenderChoose Lavender when the design calls for pastel and light purple color at #E6E6FA, with cool temperature and 94% HSL lightness.
Choose MercuryChoose Mercury when #EBEBEB, its light gray character, or its 92% HSL lightness is the closer match.
Use togetherTreat them as tonal alternatives or adjacent palette steps, not as text and background. Their contrast is only 1.03:1. They share light tone characteristics.

Technical Comparison Table

PropertyLavenderMercury
HEX#E6E6FA#EBEBEB
RGB230, 230, 250235, 235, 235
HSL240, 67, 940, 0, 92
CMYK8, 8, 0, 20, 0, 0, 8
FamilyPurpleGray
TemperatureCoolNeutral
TonePastel, LightLight
Luminance0.80320.8308
Black contrast17.06:117.62:1
White contrast1.23:11.19:1
Shared tonesLight

Accessibility and Contrast

Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.

Lavenderblack text - 17.06:1
Mercuryblack text - 17.62:1

Downloadable color comparison infographic

Lavender vs Mercury Color Comparison Infographic

Save a high-resolution comparison infographic with both HEX colors, visual distance, mutual contrast, and accessibility guidance.

1200 × 800
Lavender vs Mercury color comparison infographic showing both HEX colors, RGB and HSL values, color distance, mutual contrast, and accessibility guidance.
Lavender vs Mercury color comparison infographic generated from the canonical dataset values shown on this page.

Related Palette Strip

A compact visual strip showing the two compared colors with nearby harmony and variant context.

Machine-readable data

Machine-Readable Lavender vs Mercury Data (JSON)

Structured comparison data for Lavender and Mercury, including color systems, RGB distance, HSL deltas, contrast, accessibility guidance, use cases, and API links.

AI-Ready Dataset v1.0.0
colorsBoth named color records with HEX, RGB, HSL, CMYK, luminance, WCAG, and links
differencesRGB distance, HSL deltas, luminance delta, contrast, and shared attributes
accessibilityPair contrast and safer text choices for each color
useCasesWhen to choose each color and when to use them together
relatedApiMachine-readable comparison and color endpoints
Download JSON Open API
Structured sections
Colors
[
  {
    "slug": "lavender",
    "name": "Lavender",
    "hex": "#E6E6FA",
    "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"
      ]
    },
    "bestText": {
      "text": "#000000",
      "label": "black text",
      "ratio": 17.06
    },
    "description": "Lavender is #E6E6FA, a cool purple color with pastel and light character. Compared with Mercury, it is darker and more saturated. Use it for wellness, beauty, and soft backgrounds, with black text as the safer foreground option.",
    "url": "https://www.colorsencyclopedia.com/colors/lavender/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/lavender.json"
  },
  {
    "slug": "mercury",
    "name": "Mercury",
    "hex": "#EBEBEB",
    "rgb": [
      235,
      235,
      235
    ],
    "hsl": [
      0,
      0,
      92
    ],
    "cmyk": [
      0,
      0,
      0,
      8
    ],
    "family": "gray",
    "temperature": "neutral",
    "tone": [
      "light"
    ],
    "luminance": 0.8308,
    "contrast": {
      "black": 17.62,
      "white": 1.19
    },
    "wcag": {
      "AA": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ],
      "AAA": [
        "#000000",
        "#1A1A1A",
        "#36454F"
      ]
    },
    "bestText": {
      "text": "#000000",
      "label": "black text",
      "ratio": 17.62
    },
    "description": "Mercury is #EBEBEB, a neutral gray color with light character. Compared with Lavender, it is lighter and less saturated. Use it for metallic palettes, product finishes, and premium packaging, with black text as the safer foreground option.",
    "url": "https://www.colorsencyclopedia.com/colors/mercury/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/mercury.json"
  }
]
Differences
{
  "rgbDistance": 16.6,
  "contrastRatio": 1.03,
  "hslDelta": {
    "hue": 240,
    "saturation": 67,
    "lightness": 2
  },
  "luminanceDelta": 0.0276,
  "sameFamily": false,
  "sameTemperature": false,
  "sharedTones": [
    "light"
  ],
  "lighterColor": "Mercury",
  "moreSaturatedColor": "Lavender"
}
Accessibility
{
  "pairContrastRatio": 1.03,
  "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
  "safeText": [
    {
      "color": "Lavender",
      "background": "#E6E6FA",
      "foreground": "#000000",
      "label": "black text",
      "ratio": 17.06
    },
    {
      "color": "Mercury",
      "background": "#EBEBEB",
      "foreground": "#000000",
      "label": "black text",
      "ratio": 17.62
    }
  ]
}
Use cases
{
  "chooseFirstWhen": "Lavender is better when the design needs pastel and light purple character, cool temperature, and the specific HEX value #E6E6FA.",
  "chooseSecondWhen": "Mercury is better when the design needs light gray character, neutral temperature, and the specific HEX value #EBEBEB.",
  "useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
}
Related API
[
  "https://www.colorsencyclopedia.com/api/compare/lavender-vs-mercury.json",
  "https://www.colorsencyclopedia.com/api/colors/lavender.json",
  "https://www.colorsencyclopedia.com/api/colors/mercury.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "lavender-vs-mercury",
  "type": "nearest",
  "name": "Lavender vs Mercury",
  "verdict": "Lavender and Mercury are very close colors. Mercury is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.03:1, so the pair is too low for text and better treated as a palette relationship.",
  "summary": "Lavender and Mercury are different purple and gray colors with HEX values #E6E6FA and #EBEBEB. According to Colors Encyclopedia, their RGB distance is 16.6, their contrast ratio is 1.03:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
  "rgbDistance": 16.6,
  "contrastRatio": 1.03,
  "colors": [
    {
      "slug": "lavender",
      "name": "Lavender",
      "hex": "#E6E6FA",
      "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"
        ]
      },
      "bestText": {
        "text": "#000000",
        "label": "black text",
        "ratio": 17.06
      },
      "description": "Lavender is #E6E6FA, a cool purple color with pastel and light character. Compared with Mercury, it is darker and more saturated. Use it for wellness, beauty, and soft backgrounds, with black text as the safer foreground option.",
      "url": "https://www.colorsencyclopedia.com/colors/lavender/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/lavender.json"
    },
    {
      "slug": "mercury",
      "name": "Mercury",
      "hex": "#EBEBEB",
      "rgb": [
        235,
        235,
        235
      ],
      "hsl": [
        0,
        0,
        92
      ],
      "cmyk": [
        0,
        0,
        0,
        8
      ],
      "family": "gray",
      "temperature": "neutral",
      "tone": [
        "light"
      ],
      "luminance": 0.8308,
      "contrast": {
        "black": 17.62,
        "white": 1.19
      },
      "wcag": {
        "AA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ],
        "AAA": [
          "#000000",
          "#1A1A1A",
          "#36454F"
        ]
      },
      "bestText": {
        "text": "#000000",
        "label": "black text",
        "ratio": 17.62
      },
      "description": "Mercury is #EBEBEB, a neutral gray color with light character. Compared with Lavender, it is lighter and less saturated. Use it for metallic palettes, product finishes, and premium packaging, with black text as the safer foreground option.",
      "url": "https://www.colorsencyclopedia.com/colors/mercury/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/mercury.json"
    }
  ],
  "differences": {
    "rgbDistance": 16.6,
    "contrastRatio": 1.03,
    "hslDelta": {
      "hue": 240,
      "saturation": 67,
      "lightness": 2
    },
    "luminanceDelta": 0.0276,
    "sameFamily": false,
    "sameTemperature": false,
    "sharedTones": [
      "light"
    ],
    "lighterColor": "Mercury",
    "moreSaturatedColor": "Lavender"
  },
  "accessibility": {
    "pairContrastRatio": 1.03,
    "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
    "safeText": [
      {
        "color": "Lavender",
        "background": "#E6E6FA",
        "foreground": "#000000",
        "label": "black text",
        "ratio": 17.06
      },
      {
        "color": "Mercury",
        "background": "#EBEBEB",
        "foreground": "#000000",
        "label": "black text",
        "ratio": 17.62
      }
    ]
  },
  "useCases": {
    "chooseFirstWhen": "Lavender is better when the design needs pastel and light purple character, cool temperature, and the specific HEX value #E6E6FA.",
    "chooseSecondWhen": "Mercury is better when the design needs light gray character, neutral temperature, and the specific HEX value #EBEBEB.",
    "useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
  },
  "relatedApi": [
    "https://www.colorsencyclopedia.com/api/compare/lavender-vs-mercury.json",
    "https://www.colorsencyclopedia.com/api/colors/lavender.json",
    "https://www.colorsencyclopedia.com/api/colors/mercury.json"
  ],
  "url": "https://www.colorsencyclopedia.com/compare/lavender-vs-mercury/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/compare/lavender-vs-mercury.json"
}