What is hex #F2CCFF color?

 
The hex code #F2CCFF 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 95% red, 80% green and 100% blue, resulting in rgb(242, 204, 255) and hsl(285, 100%, 90%).
For print media and manufacturing layout, the CMYK equivalent is (5%, 20%, 0%, 0%).
In the HSV/HSB scale, #F2CCFF features a hue of 285°, 20% saturation, and 100% brightness.

Hex #F2CCFF Color Codes & Conversions

Closest Named Color
Electric Lavender (#F4BBFF)
Hex Code #F2CCFF
Hex8 (RGBA Hex) #F2CCFFFF
RGB (CSS) rgb(242, 204, 255)
RGBA (CSS) rgba(242, 204, 255, 1)
HSL (CSS) hsl(285, 100%, 90%)
HSLA (CSS) hsla(285, 100%, 90%, 1)
HSV / HSB (285°, 20%, 100%)
CMYK Values (5%, 20%, 0%, 0%)
OKLCH (Modern CSS) oklch(89.3% 0.080 317.4)
CIE-LAB (D65) 86.64, 22.17, -19.96
CIE XYZ 76.26, 69.28, 103.94
Decimal / Binary 15912191
11110010 11001100 11111111

Closest Standards & Equivalents

Closest Web Safe
#FFCCFF
Inverse Color
#0D3300
Complementary Color
#D9FFCC
Closest Pantone®
Pantone 7436 C
Closest RAL
RAL 9016 [Traffic white]

#F2CCFF Grayscale Equivalents

Average
#EAEAEA
Lightness (Desaturation)
#E6E6E6
Weighted (BT601)
#DDDDDD
Luma (BT709)
#D8D8D8

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #F2CCFF.

Contrast Ratio: 1.41:1
AA Fail AAA Fail

Black Text on #F2CCFF

Sample preview of readable typography on top of #F2CCFF.

Contrast Ratio: 14.86:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #F2CCFF

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

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

Hex #F2CCFF Color Palettes

Complementary Palette

The complementary color of #F2CCFF is #D9FFCC. 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 #F2CCFF pairs with #D8CCFF and #FFCCF2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #F2CCFF uses #CCFFF2 and #FFF2CC, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #F2CCFF combines #FFF2CC, #D9FFCC and #CCD9FF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #F2CCFF pairs with #FFD8CC, #D9FFCC and #CCF2FF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #F2CCFF

Tints

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

Tones

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

Shades

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

Hex #F2CCFF in Programming & CSS Frameworks

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

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