What is hex #DECAF2 color?

 
The hex code #DECAF2 is closest to the named color Classic Rose (#FBCCE7).
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 87% red, 79% green and 95% blue, resulting in rgb(222, 202, 242) and hsl(270, 61%, 87%).
For print media and manufacturing layout, the CMYK equivalent is (8%, 17%, 0%, 5%).
In the HSV/HSB scale, #DECAF2 features a hue of 270°, 17% saturation, and 95% brightness.

Hex #DECAF2 Color Codes & Conversions

Closest Named Color
Classic Rose (#FBCCE7)
Hex Code #DECAF2
Hex8 (RGBA Hex) #DECAF2FF
RGB (CSS) rgb(222, 202, 242)
RGBA (CSS) rgba(222, 202, 242, 1)
HSL (CSS) hsl(270, 61%, 87%)
HSLA (CSS) hsla(270, 61%, 87%, 1)
HSV / HSB (270°, 17%, 95%)
CMYK Values (8%, 17%, 0%, 5%)
OKLCH (Modern CSS) oklch(86.8% 0.058 307.7)
CIE-LAB (D65) 84.06, 14.29, -17.13
CIE XYZ 67.27, 64.18, 92.83
Decimal / Binary 14600946
11011110 11001010 11110010

Closest Standards & Equivalents

Closest Web Safe
#CCCCFF
Inverse Color
#21350D
Complementary Color
#DEF2CA
Closest Pantone®
Pantone 531 C
Closest RAL
RAL 9002 [Grey white]

#DECAF2 Grayscale Equivalents

Average
#DEDEDE
Lightness (Desaturation)
#DEDEDE
Weighted (BT601)
#D5D5D5
Luma (BT709)
#D1D1D1

WCAG 2.1 Color Contrast & Accessibility

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

Sample preview of readable typography on top of #DECAF2.

Contrast Ratio: 1.52:1
AA Fail AAA Fail

Black Text on #DECAF2

Sample preview of readable typography on top of #DECAF2.

Contrast Ratio: 13.84:1
AA Pass AAA Pass

HTML / CSS Live Previews & Snippets for #DECAF2

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

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

Hex #DECAF2 Color Palettes

Complementary Palette

The complementary color of #DECAF2 is #DEF2CA. 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 #DECAF2 pairs with #CACAF2 and #F2CAF2, positioned 30° apart on the color wheel for smooth, cohesive visual harmony.

Split-Complementary Palette

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

Triadic Palette

The triadic color scheme of #DECAF2 uses #CAF2DE and #F2DECA, spaced 120° apart for balanced, high-energy contrast.

Tetradic Palette

The tetradic color scheme of #DECAF2 combines #F2DECA, #DEF2CA and #CADEF2 around the color wheel for rich multi-accent UI systems.

Square Palette

The square color scheme of #DECAF2 pairs with #F2CACA, #DEF2CA and #CAF2F2 spaced evenly at 90° intervals.

Tints, Tones & Shades of Hex #DECAF2

Tints

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

Tones

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

Shades

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

Hex #DECAF2 in Programming & CSS Frameworks

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

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