HEX Color Conversion

Hex Color Code #F5DAFA — RGB & HSL Conversions

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

For developers, implementing the #F5DAFA color code involves declaring it in your styles. In stylesheet designs, use color: #F5DAFA; for text alignment. If you are developing with utility-first layouts, you can invoke it in Tailwind as text-[#F5DAFA] or custom configure it in your theme files.

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

The RGB code for #F5DAFA is computed as rgb(245, 218, 250). Web designers using HSL values will find it at a hue of 291°, saturation of 76%, and lightness index of 92%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #F5DAFA

For print design setups, the CMYK values for the #F5DAFA color code are Cyan: 2%, Magenta: 13%, Yellow: 0%, and Black: 2%. Purple carries luxury, creative thinking, and sophisticated branding connotations, highly recommended for creative studio layouts.

Red Channel 245
Green Channel 218
Blue Channel 250
Luminance 0.765

HEX #F5DAFA Color Space Conversions

Click to copy format
HEX Color Code #F5DAFA
RGB (Red Green Blue) rgb(245, 218, 250)
HSL (Hue Sat Light) hsl(291°, 76%, 92%)
CMYK (Commercial Print) cmyk(2%, 13%, 0%, 2%)
HSV / HSB Values hsv(291°, 13%, 98%)
Decimal Color Code 16112378
CSS Custom Variable --color-hex: #F5DAFA;
Tailwind CSS Utility bg-[#F5DAFA]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #F5DAFA

Small body copy preview

Black Text on Background

Black text readability test with #F5DAFA

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 #F5DAFA */
--color-hex: #F5DAFA;
--color-rgb: rgb(245, 218, 250);
--color-hsl: hsl(291deg, 76%, 92%);

Adjacent HEX Color Codes

Copied!