What is hex #8A28FF color?

 
The hex code #8A28FF is closest to the named color Blue Violet (#8A2BE2).
In professional design frameworks, this hue is considered a highly vibrant and energetic tone. It is perfect for drawing attention to critical elements like call-to-action buttons, highlights, or modern branding.

From a technical standpoint, this color is composed of 54% red, 16% green and 100% blue, resulting in rgb(138, 40, 255) and hsl(267, 100%, 58%).
For print media and manufacturing layout, the CMYK equivalent is (46%, 84%, 0%, 0%).
In the HSV/HSB scale, #8A28FF features a hue of 267°, 84% saturation, and 100% brightness.

Hex #8A28FF Color Codes & Conversions

Closest Named Color
Blue Violet (#8A2BE2)
Hex Code #8A28FF
Hex8 (RGBA Hex) #8A28FFFF
RGB (CSS) rgb(138, 40, 255)
RGBA (CSS) rgba(138, 40, 255, 1)
HSL (CSS) hsl(267, 100%, 58%)
HSLA (CSS) hsla(267, 100%, 58%, 1)
HSV / HSB (267°, 84%, 100%)
CMYK Values (46%, 84%, 0%, 0%)
OKLCH (Modern CSS) oklch(55.7% 0.279 296.0)
CIE-LAB (D65) 44.43, 77.22, -87.43
CIE XYZ 29.29, 14.14, 95.77
Decimal / Binary 9054463
10001010 00101000 11111111

Closest Standards & Equivalents

Closest Web Safe
#9933FF
Inverse Color
#75D700
Complementary Color
#9DFF28
Closest Pantone®
Pantone 2592 C
Closest RAL
RAL 4006 [Traffic purple]

#8A28FF Grayscale Equivalents

Average
#909090
Lightness (Desaturation)
#949494
Weighted (BT601)
#5E5E5E
Luma (BT709)
#4C4C4C

WCAG 2.1 Color Contrast & Accessibility

Check how #8A28FF complies with web accessibility standards (WCAG AA & AAA) for typography. Need to test against another custom color? Use our interactive contrast checker.

White Text on #8A28FF

Sample preview of readable typography on top of #8A28FF.

Contrast Ratio: 5.49:1
AA Pass AAA Fail

Black Text on #8A28FF

Sample preview of readable typography on top of #8A28FF.

Contrast Ratio: 3.83:1
AA Fail AAA Fail

HTML / CSS Live Previews & Snippets for #8A28FF

Preview #8A28FF in real UI elements and copy ready-to-use CSS rules.

Background Preview
background-color: #8A28FF;
Typography Color Preview
color: #8A28FF;
Border & Shadow Preview
border: 2px solid #8A28FF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #8A28FF;
  --color-primary-rgb: 138, 40, 255;
  --color-complementary: #9DFF28;
}
.btn-accent {
  background-color: #8A28FF;
  color: #ffffff;
}

Hex #8A28FF Color Palettes

Complementary Palette

The complementary color of #8A28FF is #9DFF28. Opposite on the color wheel, placing these two colors next to each other creates the strongest visual contrast.

Analogous Palette

The analogous color scheme of #8A28FF pairs with #2831FF and #F528FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #8A28FF pairs with #31FF28 and #FFF528, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #8A28FF uses #28FF8A and #FF8A28, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #8A28FF combines #FF8A28, #9DFF28 and #289DFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #8A28FF pairs with #FF2831, #9DFF28 and #28FFF5 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #8A28FF

Tints

Tints are created by mixing #8A28FF with white, producing lighter variations.

Tones

Tones are created by mixing #8A28FF with gray, softening saturation.

Shades

Shades result from mixing #8A28FF with black, creating deeper variations.

Hex #8A28FF in Programming & CSS Frameworks

Copy the exact syntax for #8A28FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:

HTML / CSS #8A28FF
Tailwind CSS bg-[#8A28FF] text-[#8A28FF]
Java (AWT) new Color(138,40,255);
Python Color("#8A28FF")
.NET (C#) Color.FromArgb(255, 138,40,255);
Swift / iOS UIColor(red: 0.54, green: 0.16, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(138, 40, 255)