Nearest-color comparison

Blue vs Han Purple

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.

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.

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 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.

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 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.

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 BlueBlue is better when the design needs vibrant blue character, cool temperature, and the specific HEX value #0000FF.
Choose Han PurpleHan Purple is better when the design needs vibrant purple character, cool temperature, and the specific HEX value #5218FA.
Use togetherUse these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs.

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

Related Palette Strip

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

Blue#0000FF
Han Purple#5218FA
#5C5CFF#5C5CFF
#9573FC#9573FC
Yellow#FFFF00
#C2FA19#C2FA19

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"
}