HSL(302, 79%, 71%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(302,79%,71%)]

Color Conversions

Format Value CSS Usage
HSL hsl(302, 79%, 71%) color: hsl(302, 79%, 71%)
HEX #EF7BEC color: #EF7BEC
RGB rgb(239, 123, 236) color: rgb(239, 123, 236)
CMYK cmyk(0%, 49%, 1%, 6%)
HSV hsv(302, 49%, 94%)
HWB hwb(302 48% 6%) color: hwb(302 48% 6%)
OKLCH oklch(0.7526 0.1961 328.27) color: oklch(0.7526 0.1961 328.27)
Lab lab(68.44 59.68 -37.65) color: lab(68.44 59.68 -37.65)
LCH lch(68.44 70.56 327.75) color: lch(68.44 70.56 327.75)

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 2.41:1
vs Black 8.71: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)

#BDBCD1 — rgb(189, 188, 209)

Deuteranopia (Green-blind)

#C4CCCA — rgb(196, 204, 202)

Tritanopia (Blue-blind)

#E9BBB6 — rgb(233, 187, 182)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(302, 79%, 71%);

text

color: hsl(302, 79%, 71%);

border

border: 2px solid hsl(302, 79%, 71%);

gradient light

background: linear-gradient(to right, hsl(302, 79%, 91%), hsl(302, 79%, 71%));

gradient dark

background: linear-gradient(to right, hsl(302, 79%, 71%), hsl(302, 79%, 51%))

hex

background-color: #EF7BEC;

tailwind

bg-[hsl(302,79%,71%)]

box shadow

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

css variable

--color-primary: hsl(302, 79%, 71%);

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(302, 79%, 71%)?

HEX: #EF7BEC | RGB: rgb(239, 123, 236) | CMYK: 0%, 49%, 1%, 6% | HSV: 302°, 49%, 94%. Copy any format from the conversion table above.

What colors go well with #EF7BEC?

The complementary color is HSL(122, 79%, 71%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(302, 79%, 71%) in CSS?

As HSL: color: hsl(302, 79%, 71%); — As HEX: color: #EF7BEC; — As RGB: color: rgb(239, 123, 236); — Tailwind CSS: bg-[hsl(302,79%,71%)] — CSS variable: --color-primary: hsl(302, 79%, 71%);