purple color
Han Purple
Han Purple is #5218FA, a cool purple with hue 255°, saturation 96% and luminance 0.0935. Beside Blue Violet, it is darker and more saturated. Of the two standard text choices, white text gives the higher contrast at 7.32:1.
Nearest-color comparison
Han Purple #5218FA vs Blue Violet #8A2BE2: RGB distance 63.8 and contrast 1.23:1. Compare hue, luminance, saturation, WCAG and practical use.
Han Purple and Blue Violet are related but distinguishable, with an RGB distance of 63.8. Blue Violet is lighter by 0.0327, and Han Purple is more saturated by 20 percentage points. Their mutual contrast is 1.23:1. The pair is too close for a readable foreground/background combination and works better as neighboring palette colors.
The main measurable differences between Han Purple and Blue Violet across RGB distance, luminance, hue, saturation, and contrast.
purple color
Han Purple is #5218FA, a cool purple with hue 255°, saturation 96% and luminance 0.0935. Beside Blue Violet, it is darker and more saturated. Of the two standard text choices, white text gives the higher contrast at 7.32:1.
purple color
Blue Violet is #8A2BE2, a cool purple with hue 271°, saturation 76% and luminance 0.1262. Beside Han Purple, it is lighter and less saturated. Of the two standard text choices, white text gives the higher contrast at 5.96:1.
Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.
Downloadable color comparison infographic
Save a high-resolution comparison infographic with both HEX colors, visual distance, mutual contrast, and accessibility guidance.

A compact visual strip showing the two compared colors with nearby harmony and variant context.
Machine-readable data
Structured comparison data for Han Purple and Blue Violet, including color systems, RGB distance, HSL deltas, contrast, accessibility guidance, use cases, and API links.
colorsBoth named color records with HEX, RGB, HSL, CMYK, luminance, WCAG, and linksdifferencesRGB distance, HSL deltas, luminance delta, contrast, and shared attributesaccessibilityPair contrast and safer text choices for each coloruseCasesWhen to choose each color and when to use them togetherrelatedApiMachine-readable comparison and color endpoints[
{
"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 Violet, it is darker and more 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"
},
{
"slug": "blue-violet",
"name": "Blue Violet",
"hex": "#8A2BE2",
"rgb": [
138,
43,
226
],
"hsl": [
271,
76,
53
],
"cmyk": [
39,
81,
0,
11
],
"family": "purple",
"temperature": "cool",
"tone": [
"vibrant"
],
"luminance": 0.1262,
"contrast": {
"black": 3.52,
"white": 5.96
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 5.96
},
"description": "Blue Violet is #8A2BE2, a cool purple color with vibrant character. Compared with Han Purple, it is lighter and less 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-violet/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/blue-violet.json"
}
]{
"rgbDistance": 63.8,
"contrastRatio": 1.23,
"hslDelta": {
"hue": 16,
"saturation": 20,
"lightness": 1
},
"luminanceDelta": 0.0327,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"vibrant"
],
"lighterColor": "Blue Violet",
"moreSaturatedColor": "Han Purple"
}{
"pairContrastRatio": 1.23,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Han Purple",
"background": "#5218FA",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 7.32
},
{
"color": "Blue Violet",
"background": "#8A2BE2",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 5.96
}
]
}{
"chooseFirstWhen": "Han Purple is better when the design needs vibrant purple character, cool temperature, and the specific HEX value #5218FA.",
"chooseSecondWhen": "Blue Violet is better when the design needs vibrant purple character, cool temperature, and the specific HEX value #8A2BE2.",
"useTogetherWhen": "Use these colors together as related palette neighbors, subtle material differences, or tonal alternatives rather than readable foreground/background pairs."
}[
"https://www.colorsencyclopedia.com/api/compare/han-purple-vs-blue-violet.json",
"https://www.colorsencyclopedia.com/api/colors/han-purple.json",
"https://www.colorsencyclopedia.com/api/colors/blue-violet.json"
]{
"datasetVersion": "1.0.0",
"slug": "han-purple-vs-blue-violet",
"type": "nearest",
"name": "Han Purple vs Blue Violet",
"verdict": "Han Purple and Blue Violet are visually related colors. Blue Violet is the lighter option. They share similar temperature behavior. Their mutual contrast is 1.23:1, so the pair is too low for text and better treated as a palette relationship.",
"summary": "Han Purple and Blue Violet are different purple colors with HEX values #5218FA and #8A2BE2. According to Colors Encyclopedia, their RGB distance is 63.8, their contrast ratio is 1.23:1, and the comparison helps choose between tone, temperature, and accessibility behavior.",
"rgbDistance": 63.8,
"contrastRatio": 1.23,
"colors": [
{
"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 Violet, it is darker and more 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"
},
{
"slug": "blue-violet",
"name": "Blue Violet",
"hex": "#8A2BE2",
"rgb": [
138,
43,
226
],
"hsl": [
271,
76,
53
],
"cmyk": [
39,
81,
0,
11
],
"family": "purple",
"temperature": "cool",
"tone": [
"vibrant"
],
"luminance": 0.1262,
"contrast": {
"black": 3.52,
"white": 5.96
},
"wcag": {
"AA": [
"#FFFFFF",
"#F5F5F5"
],
"AAA": []
},
"bestText": {
"text": "#FFFFFF",
"label": "white text",
"ratio": 5.96
},
"description": "Blue Violet is #8A2BE2, a cool purple color with vibrant character. Compared with Han Purple, it is lighter and less 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-violet/",
"apiUrl": "https://www.colorsencyclopedia.com/api/colors/blue-violet.json"
}
],
"differences": {
"rgbDistance": 63.8,
"contrastRatio": 1.23,
"hslDelta": {
"hue": 16,
"saturation": 20,
"lightness": 1
},
"luminanceDelta": 0.0327,
"sameFamily": true,
"sameTemperature": true,
"sharedTones": [
"vibrant"
],
"lighterColor": "Blue Violet",
"moreSaturatedColor": "Han Purple"
},
"accessibility": {
"pairContrastRatio": 1.23,
"textRecommendation": "Do not use this pair for text; use it for neighboring palette colors, decoration, or low-emphasis surfaces.",
"safeText": [
{
"color": "Han Purple",
"background": "#5218FA",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 7.32
},
{
"color": "Blue Violet",
"background": "#8A2BE2",
"foreground": "#FFFFFF",
"label": "white text",
"ratio": 5.96
}
]
},
"useCases": {
"chooseFirstWhen": "Han Purple is better when the design needs vibrant purple character, cool temperature, and the specific HEX value #5218FA.",
"chooseSecondWhen": "Blue Violet is better when the design needs vibrant purple character, cool temperature, and the specific HEX value #8A2BE2.",
"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/han-purple-vs-blue-violet.json",
"https://www.colorsencyclopedia.com/api/colors/han-purple.json",
"https://www.colorsencyclopedia.com/api/colors/blue-violet.json"
],
"url": "https://www.colorsencyclopedia.com/compare/han-purple-vs-blue-violet/",
"apiUrl": "https://www.colorsencyclopedia.com/api/compare/han-purple-vs-blue-violet.json"
}