HSL(304, 75%, 79%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(304,75%,79%)]

Color Conversions

Format Value CSS Usage
HSL hsl(304, 75%, 79%) color: hsl(304, 75%, 79%)
HEX #F2A1EC color: #F2A1EC
RGB rgb(242, 161, 236) color: rgb(242, 161, 236)
CMYK cmyk(0%, 33%, 2%, 5%)
HSV hsv(304, 33%, 95%)
HWB hwb(304 64% 5%) color: hwb(304 64% 5%)
OKLCH oklch(0.8124 0.135 329.33) color: oklch(0.8124 0.135 329.33)
Lab lab(76.33 41.41 -25.45) color: lab(76.33 41.41 -25.45)
LCH lch(76.33 48.61 328.43) color: lch(76.33 48.61 328.43)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 1.89:1
vs Black 11.08:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#CFCEDA — rgb(207, 206, 218)

Deuteranopia (Green-blind)

#D4DAD6 — rgb(212, 218, 214)

Tritanopia (Blue-blind)

#EECCC8 — rgb(238, 204, 200)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(304, 75%, 79%);

text

color: hsl(304, 75%, 79%);

border

border: 2px solid hsl(304, 75%, 79%);

gradient light

background: linear-gradient(to right, hsl(304, 75%, 99%), hsl(304, 75%, 79%));

gradient dark

background: linear-gradient(to right, hsl(304, 75%, 79%), hsl(304, 75%, 59%))

hex

background-color: #F2A1EC;

tailwind

bg-[hsl(304,75%,79%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(304, 75%, 79%, 0.4);

css variable

--color-primary: hsl(304, 75%, 79%);

Related Colors

Use Cases for Purple

Luxury brands Creative agencies Beauty products Royalty themes Premium badges

Frequently Asked Questions

What are all the color codes for HSL(304, 75%, 79%)?

HEX: #F2A1EC | RGB: rgb(242, 161, 236) | CMYK: 0%, 33%, 2%, 5% | HSV: 304°, 33%, 95%. Copy any format from the conversion table above.

What colors go well with #F2A1EC?

The complementary color is HSL(124, 75%, 79%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(304, 75%, 79%) in CSS?

As HSL: color: hsl(304, 75%, 79%); — As HEX: color: #F2A1EC; — As RGB: color: rgb(242, 161, 236); — Tailwind CSS: bg-[hsl(304,75%,79%)] — CSS variable: --color-primary: hsl(304, 75%, 79%);