What is hex #CCAFFF 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 80% red, 69% green and 100% blue, resulting in rgb(204, 175, 255) and hsl(262, 100%, 84%).
For print media and manufacturing layout, the CMYK equivalent is (20%, 31%, 0%, 0%).
In the HSV/HSB scale, #CCAFFF features a hue of 262°, 31% saturation, and 100% brightness.
Hex #CCAFFF Color Codes & Conversions
| Closest Named Color | Bright Ube (#D19FE8) |
| Hex Code | #CCAFFF |
| Hex8 (RGBA Hex) | #CCAFFFFF |
| RGB (CSS) | rgb(204, 175, 255) |
| RGBA (CSS) | rgba(204, 175, 255, 1) |
| HSL (CSS) | hsl(262, 100%, 84%) |
| HSLA (CSS) | hsla(262, 100%, 84%, 1) |
| HSV / HSB | (262°, 31%, 100%) |
| CMYK Values | (20%, 31%, 0%, 0%) |
| OKLCH (Modern CSS) | oklch(80.8% 0.115 300.5) |
| CIE-LAB (D65) | 76.51, 26.04, -35.75 |
| CIE XYZ | 58.28, 50.72, 101.31 |
| Decimal / Binary |
13414399
11001100 10101111 11111111 |
Closest Standards & Equivalents
| Closest Web Safe | #CC99FF |
| Inverse Color | #335000 |
| Complementary Color | #E2FFAF |
| Closest Pantone® | Pantone 2635 C |
| Closest RAL | RAL 7047 [Telegrey 4] |
#CCAFFF Grayscale Equivalents
| Average | #D3D3D3 [Light Grey] |
| Lightness (Desaturation) | #D7D7D7 |
| Weighted (BT601) | #C1C1C1 |
| Luma (BT709) | #BBBBBB |
WCAG 2.1 Color Contrast & Accessibility
Check how #CCAFFF 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 #CCAFFF
Sample preview of readable typography on top of #CCAFFF.
Black Text on #CCAFFF
Sample preview of readable typography on top of #CCAFFF.
HTML / CSS Live Previews & Snippets for #CCAFFF
Preview #CCAFFF in real UI elements and copy ready-to-use CSS rules.
background-color: #CCAFFF;
color: #CCAFFF;
border: 2px solid #CCAFFF;
:root {
--color-primary: #CCAFFF;
--color-primary-rgb: 204, 175, 255;
--color-complementary: #E2FFAF;
}
.btn-accent {
background-color: #CCAFFF;
color: #000000;
}
Hex #CCAFFF Color Palettes
Complementary Palette
The complementary color of #CCAFFF is #E2FFAF. 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 #CCAFFF pairs with #AFBAFF and #F4AFFF, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.
Split-Complementary Palette
The split-complementary scheme of #CCAFFF pairs with #BAFFAF and #FFF4AF, delivering strong contrast while remaining easier to balance than a direct complement.
Triadic Palette
The triadic color scheme of #CCAFFF uses #AFFFCC and #FFCCAF, spaced 120° apart for balanced, high-energy contrast.
Tetradic Palette
The tetradic color scheme of #CCAFFF combines #FFCCAF, #E2FFAF and #AFE2FF around the color wheel for rich multi-accent UI systems.
Square Palette
The square color scheme of #CCAFFF pairs with #FFAFBA, #E2FFAF and #AFFFF4 spaced evenly at 90° intervals.
Tints, Tones & Shades of Hex #CCAFFF
Tints
Tints are created by mixing #CCAFFF with white, producing lighter variations.
Tones
Tones are created by mixing #CCAFFF with gray, softening saturation.
Shades
Shades result from mixing #CCAFFF with black, creating deeper variations.
Hex #CCAFFF in Programming & CSS Frameworks
Copy the exact syntax for #CCAFFF in CSS, Tailwind, Java, Python, .NET, Swift, or Kotlin:
| HTML / CSS | #CCAFFF |
| Tailwind CSS | bg-[#CCAFFF] text-[#CCAFFF] |
| Java (AWT) | new Color(204,175,255); |
| Python | Color("#CCAFFF") |
| .NET (C#) | Color.FromArgb(255, 204,175,255); |
| Swift / iOS | UIColor(red: 0.8, green: 0.69, blue: 1, alpha: 1) |
| Kotlin / Android | Color.rgb(204, 175, 255) |