What is hex #F0BCFF color?

 
The hex code #F0BCFF 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 94% red, 74% green and 100% blue, resulting in rgb(240, 188, 255) and hsl(287, 100%, 87%).
For print media and manufacturing layout, the CMYK equivalent is (6%, 26%, 0%, 0%).
In the HSV/HSB scale, #F0BCFF features a hue of 287°, 26% saturation, and 100% brightness.

Hex #F0BCFF Color Codes & Conversions

Closest Named Color
Electric Lavender (#F4BBFF)
Hex Code #F0BCFF
Hex8 (RGBA Hex) #F0BCFFFF
RGB (CSS) rgb(240, 188, 255)
RGBA (CSS) rgba(240, 188, 255, 1)
HSL (CSS) hsl(287, 100%, 87%)
HSLA (CSS) hsla(287, 100%, 87%, 1)
HSV / HSB (287°, 26%, 100%)
CMYK Values (6%, 26%, 0%, 0%)
OKLCH (Modern CSS) oklch(86.3% 0.106 318.6)
CIE-LAB (D65) 82.76, 30.03, -25.87
CIE XYZ 71.97, 61.71, 102.71
Decimal / Binary 15777023
11110000 10111100 11111111

Closest Standards & Equivalents

Closest Web Safe
#FFCCFF
Inverse Color
#0F4300
Complementary Color
#CBFFBC
Closest Pantone®
Pantone 2365 C
Closest RAL
RAL 9016 [Traffic white]

#F0BCFF Grayscale Equivalents

Average
#E4E4E4
Lightness (Desaturation)
#DEDEDE
Weighted (BT601)
#D3D3D3 [Light Grey]
Luma (BT709)
#CCCCCC

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #F0BCFF.

Contrast Ratio: 1.57:1
AA Fail AAA Fail

Black Text on #F0BCFF

Sample preview of readable typography on top of #F0BCFF.

Contrast Ratio: 13.34:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #F0BCFF

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

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

Hex #F0BCFF Color Palettes

Complementary Palette

The complementary color of #F0BCFF is #CBFFBC. 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 #F0BCFF pairs with #CEBCFF and #FFBCEC, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #F0BCFF uses #BCFFF0 and #FFF0BC, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #F0BCFF combines #FFF0BC, #CBFFBC and #BCCBFF around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #F0BCFF pairs with #FFCEBC, #CBFFBC and #BCECFF spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #F0BCFF

Tints

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

Tones

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

Shades

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

Hex #F0BCFF in Programming & CSS Frameworks

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

HTML / CSS #F0BCFF
Tailwind CSS bg-[#F0BCFF] text-[#F0BCFF]
Java (AWT) new Color(240,188,255);
Python Color("#F0BCFF")
.NET (C#) Color.FromArgb(255, 240,188,255);
Swift / iOS UIColor(red: 0.94, green: 0.74, blue: 1, alpha: 1)
Kotlin / Android Color.rgb(240, 188, 255)