HEX Color Conversion

Hex Color Code #F5AFFA — RGB & HSL Conversions

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

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

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

The RGB code for #F5AFFA is computed as rgb(245, 175, 250). Web designers using HSL values will find it at a hue of 296°, saturation of 88%, and lightness index of 83%, representing a highly vivid, intense, and brilliant shade.

CMYK print code settings for #F5AFFA

For print design setups, the CMYK values for the #F5AFFA color code are Cyan: 2%, Magenta: 30%, Yellow: 0%, and Black: 2%. These neutral color boundaries serve as solid structural backgrounds, layouts, and typography grids.

Red Channel 245
Green Channel 175
Blue Channel 250
Luminance 0.570

HEX #F5AFFA Color Space Conversions

Click to copy format
HEX Color Code #F5AFFA
RGB (Red Green Blue) rgb(245, 175, 250)
HSL (Hue Sat Light) hsl(296°, 88%, 83%)
CMYK (Commercial Print) cmyk(2%, 30%, 0%, 2%)
HSV / HSB Values hsv(296°, 30%, 98%)
Decimal Color Code 16101370
CSS Custom Variable --color-hex: #F5AFFA;
Tailwind CSS Utility bg-[#F5AFFA]

Contrast & Accessibility (WCAG 2.1) Check

White Text on Background

White text readability test with #F5AFFA

Small body copy preview

Black Text on Background

Black text readability test with #F5AFFA

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 #F5AFFA */
--color-hex: #F5AFFA;
--color-rgb: rgb(245, 175, 250);
--color-hsl: hsl(296deg, 88%, 83%);

Adjacent HEX Color Codes

Copied!