What is hex #CFA2FF 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 81% red, 64% green and 100% blue, resulting in rgb(207, 162, 255) and hsl(269, 100%, 82%).
For print media and manufacturing layout, the CMYK equivalent is (19%, 36%, 0%, 0%).
In the HSV/HSB scale, #CFA2FF features a hue of 269°, 36% saturation, and 100% brightness.
Hex #CFA2FF Color Codes & Conversions
| Closest Named Color | Bright Ube (#D19FE8) |
| Hex Code | #CFA2FF |
| Hex8 (RGBA Hex) | #CFA2FFFF |
| RGB (CSS) | rgb(207, 162, 255) |
| RGBA (CSS) | rgba(207, 162, 255, 1) |
| HSL (CSS) | hsl(269, 100%, 82%) |
| HSLA (CSS) | hsla(269, 100%, 82%, 1) |
| HSV / HSB | (269°, 36%, 100%) |
| CMYK Values | (19%, 36%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(78.7% 0.136 305.7) |
| CIE-LAB (D65) | 73.76, 34.02, -40.00 |
| CIE XYZ | 56.70, 46.33, 100.54 |
| Decimal / Binary |
13607679
11001111 10100010 11111111 |
WCAG 2.1 Color Contrast & Accessibility
Check how #CFA2FF 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 #CFA2FF
Sample preview of readable typography on top of #CFA2FF.
Black Text on #CFA2FF
Sample preview of readable typography on top of #CFA2FF.
HTML / CSS Live Previews & Snippets for #CFA2FF
Preview #CFA2FF in real UI elements and copy ready-to-use CSS rules.
background-color: #CFA2FF;
color: #CFA2FF;
border: 2px solid #CFA2FF;
:root {
--color-primary: #CFA2FF;
--color-primary-rgb: 207, 162, 255;
--color-complementary: #D2FFA2;
}
.btn-accent {
background-color: #CFA2FF;
color: #000000;
}
Hex #CFA2FF Color Palettes
Complementary Palette
The complementary color of #CFA2FF is #D2FFA2. 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 #CFA2FF pairs with #A2A3FF and #FDA2FF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #CFA2FF pairs with #A3FFA2 and #FFFDA2, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #CFA2FF uses #A2FFCF and #FFCFA2, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #CFA2FF combines #FFCFA2, #D2FFA2 and #A2D2FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #CFA2FF pairs with #FFA2A3, #D2FFA2 and #A2FFFD spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #CFA2FF
Tints
Tints are created by mixing #CFA2FF with white, producing lighter variations.
Tones
Tones are created by mixing #CFA2FF with gray, softening saturation.
Shades
Shades result from mixing #CFA2FF with black, creating deeper variations.
Hex #CFA2FF in Programming & CSS Frameworks
Copy the exact syntax for #CFA2FF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #CFA2FF |
| Tailwind CSS | bg-[#CFA2FF] text-[#CFA2FF] |
| Java (AWT) | new Color(207,162,255); |
| Python | Color("#CFA2FF") |
| .NET (C#) | Color.FromArgb(255, 207,162,255); |
| Swift / iOS | UIColor(red: 0.81, green: 0.64, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(207, 162, 255) |