What is hex #AFAAFF color?
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 69% red, 67% green and 100% blue, resulting in rgb(175, 170, 255) and hsl(244, 100%, 83%).
For print media and manufacturing layout, the CMYK equivalent is (31%, 33%, 0%, 0%).
In the HSV/HSB scale, #AFAAFF features a hue of 244°, 33% saturation, and 100% brightness.
Hex #AFAAFF Color Codes & Conversions
| Closest Named Color | Bright Ube (#D19FE8) |
| Hex Code | #AFAAFF |
| Hex8 (RGBA Hex) | #AFAAFFFF |
| RGB (CSS) | rgb(175, 170, 255) |
| RGBA (CSS) | rgba(175, 170, 255, 1) |
| HSL (CSS) | hsl(244, 100%, 83%) |
| HSLA (CSS) | hsla(244, 100%, 83%, 1) |
| HSV / HSB | (244°, 33%, 100%) |
| CMYK Values | (31%, 33%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(77.5% 0.120 285.9) |
| CIE-LAB (D65) | 72.95, 20.51, -41.47 |
| CIE XYZ | 50.10, 45.08, 100.65 |
| Decimal / Binary |
11512575
10101111 10101010 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #AFAAFF 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 #AFAAFF
Sample preview of readable typography on top of #AFAAFF.
Black Text on #AFAAFF
Sample preview of readable typography on top of #AFAAFF.
HTML / CSS Live Previews & Snippets for #AFAAFF
Preview #AFAAFF in real UI elements and copy ready-to-use CSS rules.
background-color: #AFAAFF;
color: #AFAAFF;
border: 2px solid #AFAAFF;
:root {
--color-primary: #AFAAFF;
--color-primary-rgb: 175, 170, 255;
--color-complementary: #FAFFAA;
}
.btn-accent {
background-color: #AFAAFF;
color: #000000;
}
Hex #AFAAFF Color Palettes
Complementary Palette
The complementary color of #AFAAFF is #FAFFAA. 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 #AFAAFF pairs with #AACFFF and #D9AAFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #AFAAFF pairs with #CFFFAA and #FFD9AA, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #AFAAFF uses #AAFFAF and #FFAFAA, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #AFAAFF combines #FFAFAA, #FAFFAA and #AAFAFF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #AFAAFF pairs with #FFAACF, #FAFFAA and #AAFFD9 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #AFAAFF
Tints
Tints are created by mixing #AFAAFF with white, producing lighter variations.
Tones
Tones are created by mixing #AFAAFF with gray, softening saturation.
Shades
Shades result from mixing #AFAAFF with black, creating deeper variations.
Hex #AFAAFF in Programming & CSS Frameworks
Copy the exact syntax for #AFAAFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #AFAAFF |
| Tailwind CSS | bg-[#AFAAFF] text-[#AFAAFF] |
| Java (AWT) | new Color(175,170,255); |
| Python | Color("#AFAAFF") |
| .NET (C#) | Color.FromArgb(255, 175,170,255); |
| Swift / iOS | UIColor(red: 0.69, green: 0.67, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(175, 170, 255) |