HEX Color Conversion

Hex Color Code #FDF2FF — RGB & HSL Conversions

How to use the #FDF2FF color code in HTML & CSS?

To apply the hex color #FDF2FF in web design, set the color property inside your CSS stylesheet. For example, adding background-color: #FDF2FF; will paint elements in this cool undertone shade. In modern CSS structures, you can configure it as a custom variable --color-hex: #FDF2FF; or utilize it directly in Tailwind CSS via arbitrary utility values like bg-[#FDF2FF].

What are the RGB and HSL conversion values for #FDF2FF?

In the digital sRGB color space, the hex value #FDF2FF is converted to RGB values of Red: 253, Green: 242, and Blue: 255. When analyzed under the HSL model, its coordinates correspond to hue angle 291°, 100% saturation, and 97% lightness. This makes it visually a very pale, near-white shade with a highly vivid, intense, and brilliant shade.

CMYK print code settings for #FDF2FF

When converting #FDF2FF for CMYK printing, the color separation consists of 1% Cyan, 5% Magenta, 0% Yellow, and 0% key/black. Purple carries luxury, creative thinking, and sophisticated branding connotations, highly recommended for creative studio layouts.

Red Channel 253
Green Channel 242
Blue Channel 255
Luminance 0.916

HEX #FDF2FF Color Space Conversions

Click to copy format
HEX Color Code #FDF2FF
RGB (Red Green Blue) rgb(253, 242, 255)
HSL (Hue Sat Light) hsl(291°, 100%, 97%)
CMYK (Commercial Print) cmyk(1%, 5%, 0%, 0%)
HSV / HSB Values hsv(291°, 5%, 100%)
Decimal Color Code 16642815
CSS Custom Variable --color-hex: #FDF2FF;
Tailwind CSS Utility bg-[#FDF2FF]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #FDF2FF

Small body copy preview

Black Text on Background

Black text readability test with #FDF2FF

Small body copy preview

Complementary & Analogous Harmonies

Perfect matching color schemes for your designs

Shades & Tints Generator Matrix

Copy shade hex values instantly

Darker Shades (Adding Black)

Lighter Tints (Adding White)

{ } CSS Custom Properties (Variables)

Copy CSS Styles
/* CSS Custom Properties for color #FDF2FF */
--color-hex: #FDF2FF;
--color-rgb: rgb(253, 242, 255);
--color-hsl: hsl(291deg, 100%, 97%);

Adjacent HEX Color Codes

Copied!