HSL(310, 80%, 59%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(310,80%,59%)]

Color Conversions

Format Value CSS Usage
HSL hsl(310, 80%, 59%) color: hsl(310, 80%, 59%)
HEX #EA43CE color: #EA43CE
RGB rgb(234, 67, 206) color: rgb(234, 67, 206)
CMYK cmyk(0%, 71%, 12%, 8%)
HSV hsv(310, 71%, 92%)
HWB hwb(310 27% 8%) color: hwb(310 27% 8%)
OKLCH oklch(0.6705 0.2461 335.64) color: oklch(0.6705 0.2461 335.64)
Lab lab(58.01 76.62 -37.2) color: lab(58.01 76.62 -37.2)
LCH lch(58.01 85.17 334.1) color: lch(58.01 85.17 334.1)

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 3.39:1
vs Black 6.19:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#A2A0AC — rgb(162, 160, 172)

Deuteranopia (Green-blind)

#ABB8A4 — rgb(171, 184, 164)

Tritanopia (Blue-blind)

#E2928C — rgb(226, 146, 140)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(310, 80%, 59%);

text

color: hsl(310, 80%, 59%);

border

border: 2px solid hsl(310, 80%, 59%);

gradient light

background: linear-gradient(to right, hsl(310, 80%, 79%), hsl(310, 80%, 59%));

gradient dark

background: linear-gradient(to right, hsl(310, 80%, 59%), hsl(310, 80%, 39%))

hex

background-color: #EA43CE;

tailwind

bg-[hsl(310,80%,59%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(310, 80%, 59%, 0.4);

css variable

--color-primary: hsl(310, 80%, 59%);

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(310, 80%, 59%)?

HEX: #EA43CE | RGB: rgb(234, 67, 206) | CMYK: 0%, 71%, 12%, 8% | HSV: 310°, 71%, 92%. Copy any format from the conversion table above.

What colors go well with #EA43CE?

The complementary color is HSL(130, 80%, 59%). For a triadic harmony, use hues 310°, 70°, and 190°. For analogous combinations, try hues 280° and 340°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(310, 80%, 59%) in CSS?

As HSL: color: hsl(310, 80%, 59%); — As HEX: color: #EA43CE; — As RGB: color: rgb(234, 67, 206); — Tailwind CSS: bg-[hsl(310,80%,59%)] — CSS variable: --color-primary: hsl(310, 80%, 59%);