What is hex #A397FF color?

 
The hex code #A397FF is closest to the named color Bright Lavender (#BF94E4).
In professional design frameworks, this hue is considered a balanced and versatile hue. It is ideal for creating smooth color harmony, digital artwork, or minimalist web components.

From a technical standpoint, this color is composed of 64% red, 59% green and 100% blue, resulting in rgb(163, 151, 255) and hsl(247, 100%, 80%).
For print media and manufacturing layout, the CMYK equivalent is (36%, 41%, 0%, 0%).
In the HSV/HSB scale, #A397FF features a hue of 247°, 41% saturation, and 100% brightness.

Hex #A397FF Color Codes & Conversions

Closest Named Color
Bright Lavender (#BF94E4)
Hex Code #A397FF
Hex8 (RGBA Hex) #A397FFFF
RGB (CSS) rgb(163, 151, 255)
RGBA (CSS) rgba(163, 151, 255, 1)
HSL (CSS) hsl(247, 100%, 80%)
HSLA (CSS) hsla(247, 100%, 80%, 1)
HSV / HSB (247°, 41%, 100%)
CMYK Values (36%, 41%, 0%, 0%)
OKLCH (Modern CSS) oklch(73.0% 0.148 287.4)
CIE-LAB (D65) 67.38, 28.02, -50.27
CIE XYZ 44.22, 37.14, 99.43
Decimal / Binary 10721279
10100011 10010111 11111111

Closest Standards & Equivalents

Closest Web Safe
#9999FF
Inverse Color
#5C6800
Complementary Color
#F3FF97
Closest Pantone®
Pantone 2645 C
Closest RAL
RAL 9006 [White aluminium]

#A397FF Grayscale Equivalents

Average
#BEBEBE
Lightness (Desaturation)
#CBCBCB
Weighted (BT601)
#A6A6A6
Luma (BT709)
#A1A1A1

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #A397FF.

Contrast Ratio: 2.49:1
AA Fail AAA Fail

Black Text on #A397FF

Sample preview of readable typography on top of #A397FF.

Contrast Ratio: 8.43:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #A397FF

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

Background Preview
background-color: #A397FF;
Typography Color Preview
color: #A397FF;
Border & Shadow Preview
border: 2px solid #A397FF;
CSS Custom Properties & Gradient
:root {
  --color-primary: #A397FF;
  --color-primary-rgb: 163, 151, 255;
  --color-complementary: #F3FF97;
}
.btn-accent {
  background-color: #A397FF;
  color: #000000;
}

Hex #A397FF Color Palettes

Complementary Palette

The complementary color of #A397FF is #F3FF97. 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 #A397FF pairs with #97BFFF and #D797FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

The split-complementary scheme of #A397FF pairs with #BFFF97 and #FFD797, delivering strong contrast while remaining easier to balance than a direct complement.

Triadic Palette

The triadic color scheme of #A397FF uses #97FFA3 and #FFA397, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #A397FF combines #FFA397, #F3FF97 and #97F3FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #A397FF pairs with #FF97BF, #F3FF97 and #97FFD7 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #A397FF

Tints

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

Tones

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

Shades

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

Hex #A397FF in Programming & CSS Frameworks

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

HTML / CSS #A397FF
Tailwind CSS bg-[#A397FF] text-[#A397FF]
Java (AWT) new Color(163,151,255);
Python Color("#A397FF")
.NET (C#) Color.FromArgb(255, 163,151,255);
Swift / iOS UIColor(red: 0.64, green: 0.59, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(163, 151, 255)