What is hex #CCBAFA color?

 
The hex code #CCBAFA is closest to the named color Electric Lavender (#F4BBFF).
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, 73% green and 98% blue, resulting in rgb(204, 186, 250) and hsl(257, 86%, 85%).
For print media and manufacturing layout, the CMYK equivalent is (18%, 26%, 0%, 2%).
In the HSV/HSB scale, #CCBAFA features a hue of 257°, 26% saturation, and 98% brightness.

Hex #CCBAFA Color Codes & Conversions

Closest Named Color
Electric Lavender (#F4BBFF)
Hex Code #CCBAFA
Hex8 (RGBA Hex) #CCBAFAFF
RGB (CSS) rgb(204, 186, 250)
RGBA (CSS) rgba(204, 186, 250, 1)
HSL (CSS) hsl(257, 86%, 85%)
HSLA (CSS) hsla(257, 86%, 85%, 1)
HSV / HSB (257°, 26%, 98%)
CMYK Values (18%, 26%, 0%, 2%)
OKLCH (Modern CSS) oklch(82.6% 0.090 297.3)
CIE-LAB (D65) 78.96, 18.93, -29.29
CIE XYZ 59.71, 54.86, 97.87
Decimal / Binary 13417210
11001100 10111010 11111010

Closest Standards & Equivalents

Closest Web Safe
#CCCCFF
Inverse Color
#334505
Complementary Color
#E8FABA
Closest Pantone®
Pantone 530 C
Closest RAL
RAL 7047 [Telegrey 4]

#CCBAFA Grayscale Equivalents

Average
#D5D5D5
Lightness (Desaturation)
#DADADA
Weighted (BT601)
#C7C7C7
Luma (BT709)
#C2C2C2

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #CCBAFA.

Contrast Ratio: 1.75:1
AA Fail AAA Fail

Black Text on #CCBAFA

Sample preview of readable typography on top of #CCBAFA.

Contrast Ratio: 11.97:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #CCBAFA

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

Background Preview
background-color: #CCBAFA;
Typography Color Preview
color: #CCBAFA;
Border & Shadow Preview
border: 2px solid #CCBAFA;
CSS Custom Properties & Gradient
:root {
  --color-primary: #CCBAFA;
  --color-primary-rgb: 204, 186, 250;
  --color-complementary: #E8FABA;
}
.btn-accent {
  background-color: #CCBAFA;
  color: #000000;
}

Hex #CCBAFA Color Palettes

Complementary Palette

The complementary color of #CCBAFA is #E8FABA. 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 #CCBAFA pairs with #BAC8FA and #ECBAFA, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #CCBAFA uses #BAFACC and #FACCBA, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #CCBAFA combines #FACCBA, #E8FABA and #BAE8FA around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #CCBAFA pairs with #FABAC8, #E8FABA and #BAFAEC spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #CCBAFA

Tints

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

Tones

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

Shades

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

Hex #CCBAFA in Programming & CSS Frameworks

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

HTML / CSS #CCBAFA
Tailwind CSS bg-[#CCBAFA] text-[#CCBAFA]
Java (AWT) new Color(204,186,250);
Python Color("#CCBAFA")
.NET (C#) Color.FromArgb(255, 204,186,250);
Swift / iOS UIColor(red: 0.8, green: 0.73, blue: 0.98, alpha: 1)
Kotlin / Android Color.rgb(204, 186, 250)