Nearest-color comparison

Blue vs Han Purple

Blue #0000FF vs Han Purple #5218FA: RGB distance 85.6 and contrast 1.17:1. Compare hue, luminance, saturation, WCAG and practical use.

Blue and Han Purple are clearly different, with an RGB distance of 85.6. Han Purple is lighter by 0.0213, and Blue is more saturated by 4 percentage points. Their mutual contrast is 1.17:1. The pair is too close for a readable foreground/background combination and works better as neighboring palette colors.

Blue#0000FF
Han Purple#5218FA

Quick Difference Summary

The main measurable differences between Blue and Han Purple across RGB distance, luminance, hue, saturation, and contrast.

RGB distance85.6
Pair contrast1.17:1
Luminance delta0.0213
Hue delta15 deg
Lighter colorHan Purple
More saturatedBlue

Side-by-Side Color Profiles

blue color

Blue

Blue is #0000FF, a cool blue with hue 240°, saturation 100% and luminance 0.0722. Beside Han Purple, it is darker and more saturated. Of the two standard text choices, white text gives the higher contrast at 8.59:1.

HEX#0000FF RGB0, 0, 255 HSL240, 100, 50 CMYK100, 100, 0, 0 Luminance0.0722 Best textwhite text

purple color

Han Purple

Han Purple is #5218FA, a cool purple with hue 255°, saturation 96% and luminance 0.0935. Beside Blue, it is lighter and less saturated. Of the two standard text choices, white text gives the higher contrast at 7.32:1.

HEX#5218FA RGB82, 24, 250 HSL255, 96, 54 CMYK67, 90, 0, 2 Luminance0.0935 Best textwhite text

When to Use Blue or Han Purple

Choose BlueChoose Blue when the design calls for vibrant blue color at #0000FF, with cool temperature and 50% HSL lightness.
Choose Han PurpleChoose Han Purple when #5218FA, its vibrant purple character, or its 54% 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.17:1. They share vibrant tone characteristics.

Technical Comparison Table

PropertyBlueHan Purple
HEX#0000FF#5218FA
RGB0, 0, 25582, 24, 250
HSL240, 100, 50255, 96, 54
CMYK100, 100, 0, 067, 90, 0, 2
FamilyBluePurple
TemperatureCoolCool
ToneVibrantVibrant
Luminance0.07220.0935
Black contrast2.44:12.87:1
White contrast8.59:17.32:1
Shared tonesVibrant

Accessibility and Contrast

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

Bluewhite text - 8.59:1
Han Purplewhite text - 7.32:1

Downloadable color comparison infographic

Blue vs Han Purple Color Comparison Infographic

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

1200 × 800
Blue vs Han Purple color comparison infographic showing both HEX colors, RGB and HSL values, color distance, mutual contrast, and accessibility guidance.
Blue vs Han Purple 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 Blue vs Han Purple Data (JSON)

Structured comparison data for Blue and Han Purple, 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": "blue",
    "name": "Blue",
    "hex": "#0000FF",
    "rgb": [
      0,
      0,
      255
    ],
    "hsl": [
      240,
      100,
      50
    ],
    "cmyk": [
      100,
      100,
      0,
      0
    ],
    "family": "blue",
    "temperature": "cool",
    "tone": [
      "vibrant"
    ],
    "luminance": 0.0722,
    "contrast": {
      "black": 2.44,
      "white": 8.59
    },
    "wcag": {
      "AA": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "AAA": [
        "#FFFFFF",
        "#F5F5F5"
      ]
    },
    "bestText": {
      "text": "#FFFFFF",
      "label": "white text",
      "ratio": 8.59
    },
    "description": "Blue is #0000FF, a cool blue color with vibrant character. Compared with Han Purple, it is darker and more saturated. Use it for web design, css color systems, and ui prototyping, with white text as the safer foreground option.",
    "url": "https://www.colorsencyclopedia.com/colors/blue/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/blue.json"
  },
  {
    "slug": "han-purple",
    "name": "Han Purple",
    "hex": "#5218FA",
    "rgb": [
      82,
      24,
      250
    ],
    "hsl": [
      255,
      96,
      54
    ],
    "cmyk": [
      67,
      90,
      0,
      2
    ],
    "family": "purple",
    "temperature": "cool",
    "tone": [
      "vibrant"
    ],
    "luminance": 0.0935,
    "contrast": {
      "black": 2.87,
      "white": 7.32
    },
    "wcag": {
      "AA": [
        "#FFFFFF",
        "#F5F5F5"
      ],
      "AAA": [
        "#FFFFFF"
      ]
    },
    "bestText": {
      "text": "#FFFFFF",
      "label": "white text",
      "ratio": 7.32
    },
    "description": "Han Purple is #5218FA, a cool purple color with vibrant character. Compared with Blue, it is lighter and less saturated. Use it for historical references, pigment palettes, and cultural color systems, with white text as the safer foreground option.",
    "url": "https://www.colorsencyclopedia.com/colors/han-purple/",
    "apiUrl": "https://www.colorsencyclopedia.com/api/colors/han-purple.json"
  }
]
Differences
{
  "rgbDistance": 85.6,
  "contrastRatio": 1.17,
  "hslDelta": {
    "hue": 15,
    "saturation": 4,
    "lightness": 4
  },
  "luminanceDelta": 0.0213,
  "sameFamily": false,
  "sameTemperature": true,
  "sharedTones": [
    "vibrant"
  ],
  "lighterColor": "Han Purple",
  "moreSaturatedColor": "Blue"
}
Accessibility
{
  "pairContrastRatio": 1.17,
  "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
  "safeText": [
    {
      "color": "Blue",
      "background": "#0000FF",
      "foreground": "#FFFFFF",
      "label": "white text",
      "ratio": 8.59
    },
    {
      "color": "Han Purple",
      "background": "#5218FA",
      "foreground": "#FFFFFF",
      "label": "white text",
      "ratio": 7.32
    }
  ]
}
Use cases
{
  "chooseFirstWhen": "Blue is better when the design needs vibrant blue character, cool temperature, and the specific HEX value #0000FF.",
  "chooseSecondWhen": "Han Purple is better when the design needs vibrant purple character, cool temperature, and the specific HEX value #5218FA.",
  "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/blue-vs-han-purple.json",
  "https://www.colorsencyclopedia.com/api/colors/blue.json",
  "https://www.colorsencyclopedia.com/api/colors/han-purple.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "blue-vs-han-purple",
  "type": "nearest",
  "name": "Blue vs Han Purple",
  "verdict": "Blue and Han Purple are clearly different colors. Han Purple is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.17:1, so the pair is too low for text and better treated as a palette relationship.",
  "summary": "Blue and Han Purple are different blue and purple colors with HEX values #0000FF and #5218FA. According to Colors Encyclopedia, their RGB distance is 85.6, their contrast ratio is 1.17:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
  "rgbDistance": 85.6,
  "contrastRatio": 1.17,
  "colors": [
    {
      "slug": "blue",
      "name": "Blue",
      "hex": "#0000FF",
      "rgb": [
        0,
        0,
        255
      ],
      "hsl": [
        240,
        100,
        50
      ],
      "cmyk": [
        100,
        100,
        0,
        0
      ],
      "family": "blue",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.0722,
      "contrast": {
        "black": 2.44,
        "white": 8.59
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF",
          "#F5F5F5"
        ]
      },
      "bestText": {
        "text": "#FFFFFF",
        "label": "white text",
        "ratio": 8.59
      },
      "description": "Blue is #0000FF, a cool blue color with vibrant character. Compared with Han Purple, it is darker and more saturated. Use it for web design, css color systems, and ui prototyping, with white text as the safer foreground option.",
      "url": "https://www.colorsencyclopedia.com/colors/blue/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/blue.json"
    },
    {
      "slug": "han-purple",
      "name": "Han Purple",
      "hex": "#5218FA",
      "rgb": [
        82,
        24,
        250
      ],
      "hsl": [
        255,
        96,
        54
      ],
      "cmyk": [
        67,
        90,
        0,
        2
      ],
      "family": "purple",
      "temperature": "cool",
      "tone": [
        "vibrant"
      ],
      "luminance": 0.0935,
      "contrast": {
        "black": 2.87,
        "white": 7.32
      },
      "wcag": {
        "AA": [
          "#FFFFFF",
          "#F5F5F5"
        ],
        "AAA": [
          "#FFFFFF"
        ]
      },
      "bestText": {
        "text": "#FFFFFF",
        "label": "white text",
        "ratio": 7.32
      },
      "description": "Han Purple is #5218FA, a cool purple color with vibrant character. Compared with Blue, it is lighter and less saturated. Use it for historical references, pigment palettes, and cultural color systems, with white text as the safer foreground option.",
      "url": "https://www.colorsencyclopedia.com/colors/han-purple/",
      "apiUrl": "https://www.colorsencyclopedia.com/api/colors/han-purple.json"
    }
  ],
  "differences": {
    "rgbDistance": 85.6,
    "contrastRatio": 1.17,
    "hslDelta": {
      "hue": 15,
      "saturation": 4,
      "lightness": 4
    },
    "luminanceDelta": 0.0213,
    "sameFamily": false,
    "sameTemperature": true,
    "sharedTones": [
      "vibrant"
    ],
    "lighterColor": "Han Purple",
    "moreSaturatedColor": "Blue"
  },
  "accessibility": {
    "pairContrastRatio": 1.17,
    "textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
    "safeText": [
      {
        "color": "Blue",
        "background": "#0000FF",
        "foreground": "#FFFFFF",
        "label": "white text",
        "ratio": 8.59
      },
      {
        "color": "Han Purple",
        "background": "#5218FA",
        "foreground": "#FFFFFF",
        "label": "white text",
        "ratio": 7.32
      }
    ]
  },
  "useCases": {
    "chooseFirstWhen": "Blue is better when the design needs vibrant blue character, cool temperature, and the specific HEX value #0000FF.",
    "chooseSecondWhen": "Han Purple is better when the design needs vibrant purple character, cool temperature, and the specific HEX value #5218FA.",
    "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/blue-vs-han-purple.json",
    "https://www.colorsencyclopedia.com/api/colors/blue.json",
    "https://www.colorsencyclopedia.com/api/colors/han-purple.json"
  ],
  "url": "https://www.colorsencyclopedia.com/compare/blue-vs-han-purple/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/compare/blue-vs-han-purple.json"
}