HSL(310, 80%, 44%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(310, 80%, 44%) color: hsl(310, 80%, 44%)
HEX #CA16AC color: #CA16AC
RGB rgb(202, 22, 172) color: rgb(202, 22, 172)
CMYK cmyk(0%, 89%, 15%, 21%)
HSV hsv(310, 89%, 79%)
HWB hwb(310 9% 21%) color: hwb(310 9% 21%)
OKLCH oklch(0.5769 0.2444 337.04) color: oklch(0.5769 0.2444 337.04)
Lab lab(47.12 76.09 -34.94) color: lab(47.12 76.09 -34.94)
LCH lch(47.12 83.73 335.34) color: lch(47.12 83.73 335.34)

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 4.97:1
vs Black 4.22:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#7C7A88 — rgb(124, 122, 136)

Deuteranopia (Green-blind)

#87947F — rgb(135, 148, 127)

Tritanopia (Blue-blind)

#C16B65 — rgb(193, 107, 101)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

background: linear-gradient(to right, hsl(310, 80%, 64%), hsl(310, 80%, 44%));

gradient dark

background: linear-gradient(to right, hsl(310, 80%, 44%), hsl(310, 80%, 24%))

hex

background-color: #CA16AC;

tailwind

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

box shadow

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

css variable

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

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%, 44%)?

HEX: #CA16AC | RGB: rgb(202, 22, 172) | CMYK: 0%, 89%, 15%, 21% | HSV: 310°, 89%, 79%. Copy any format from the conversion table above.

What colors go well with #CA16AC?

The complementary color is HSL(130, 80%, 44%). 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%, 44%) in CSS?

As HSL: color: hsl(310, 80%, 44%); — As HEX: color: #CA16AC; — As RGB: color: rgb(202, 22, 172); — Tailwind CSS: bg-[hsl(310,80%,44%)] — CSS variable: --color-primary: hsl(310, 80%, 44%);