What is hex #AB2EFF color?

 
The hex code #AB2EFF 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 67% red, 18% green and 100% blue, resulting in rgb(171, 46, 255) and hsl(276, 100%, 59%).
For print media and manufacturing layout, the CMYK equivalent is (33%, 82%, 0%, 0%).
In the HSV/HSB scale, #AB2EFF features a hue of 276°, 82% saturation, and 100% brightness.

Hex #AB2EFF Color Codes & Conversions

Closest Named Color
Blue Violet (#8A2BE2)
Hex Code #AB2EFF
Hex8 (RGBA Hex) #AB2EFFFF
RGB (CSS) rgb(171, 46, 255)
RGBA (CSS) rgba(171, 46, 255, 1)
HSL (CSS) hsl(276, 100%, 59%)
HSLA (CSS) hsla(276, 100%, 59%, 1)
HSV / HSB (276°, 82%, 100%)
CMYK Values (33%, 82%, 0%, 0%)
OKLCH (Modern CSS) oklch(60.0% 0.280 306.1)
CIE-LAB (D65) 49.29, 79.72, -79.30
CIE XYZ 35.82, 17.83, 96.14
Decimal / Binary 11218687
10101011 00101110 11111111

Closest Standards & Equivalents

Closest Web Safe
#9933FF
Inverse Color
#54D100
Complementary Color
#82FF2E
Closest Pantone®
Pantone Purple C
Closest RAL
RAL 4006 [Traffic purple]

#AB2EFF Grayscale Equivalents

Average
#9D9D9D
Lightness (Desaturation)
#979797
Weighted (BT601)
#6B6B6B
Luma (BT709)
#585858

WCAG 2.1 Color Contrast & Accessibility

Check how #AB2EFF 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 #AB2EFF

Sample preview of readable typography on top of #AB2EFF.

Contrast Ratio: 4.6:1
AA Pass AAA Fail

Black Text on #AB2EFF

Sample preview of readable typography on top of #AB2EFF.

Contrast Ratio: 4.57:1
AA Pass AAA Fail

HTML / CSS Live Previews & Snippets for #AB2EFF

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

Background Preview
background-color: #AB2EFF;
Typography Color Preview
color: #AB2EFF;
Border & Shadow Preview
border: 2px solid #AB2EFF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #AB2EFF;
  --color-primary-rgb: 171, 46, 255;
  --color-complementary: #82FF2E;
}
.btn-accent {
  background-color: #AB2EFF;
  color: #ffffff;
}

Hex #AB2EFF Color Palettes

Complementary Palette

The complementary color of #AB2EFF is #82FF2E. 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 #AB2EFF pairs with #422EFF and #FF2EEA, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #AB2EFF pairs with #2EFF42 and #EAFF2E, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #AB2EFF uses #2EFFAB and #FFAB2E, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #AB2EFF combines #FFAB2E, #82FF2E and #2E82FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #AB2EFF pairs with #FF422E, #82FF2E and #2EEAFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #AB2EFF

Tints

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

Tones

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

Shades

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

Hex #AB2EFF in Programming & CSS Frameworks

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

HTML / CSS #AB2EFF
Tailwind CSS bg-[#AB2EFF] text-[#AB2EFF]
Java (AWT) new Color(171,46,255);
Python Color("#AB2EFF")
.NET (C#) Color.FromArgb(255, 171,46,255);
Swift / iOS UIColor(red: 0.67, green: 0.18, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(171, 46, 255)