HSL(296, 79%, 29%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(296,79%,29%)]

Color Conversions

Format Value CSS Usage
HSL hsl(296, 79%, 29%) color: hsl(296, 79%, 29%)
HEX #7D1084 color: #7D1084
RGB rgb(125, 16, 132) color: rgb(125, 16, 132)
CMYK cmyk(5%, 88%, 0%, 48%)
HSV hsv(296, 88%, 52%)
HWB hwb(296 6% 48%) color: hwb(296 6% 48%)
OKLCH oklch(0.425 0.1866 325.32) color: oklch(0.425 0.1866 325.32)
Lab lab(30.39 56.36 -38.05) color: lab(30.39 56.36 -38.05)
LCH lch(30.39 68 325.98) color: lch(30.39 68 325.98)

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 9.21:1
vs Black 2.28:1

AA Normal (4.5:1)

on White: PASS ✓ on Black: FAIL ✗

AA Large (3:1)

on White: PASS ✓ on Black: FAIL ✗

AAA Normal (7:1)

on White: PASS ✓

Best text on this color: white

Color Blindness Simulation

Protanopia (Red-blind)

#4E4D68 — rgb(78, 77, 104)

Deuteranopia (Green-blind)

#545C61 — rgb(84, 92, 97)

Tritanopia (Blue-blind)

#78524D — rgb(120, 82, 77)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(296, 79%, 29%);

text

color: hsl(296, 79%, 29%);

border

border: 2px solid hsl(296, 79%, 29%);

gradient light

background: linear-gradient(to right, hsl(296, 79%, 49%), hsl(296, 79%, 29%));

gradient dark

background: linear-gradient(to right, hsl(296, 79%, 29%), hsl(296, 79%, 9%))

hex

background-color: #7D1084;

tailwind

bg-[hsl(296,79%,29%)]

box shadow

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

css variable

--color-primary: hsl(296, 79%, 29%);

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(296, 79%, 29%)?

HEX: #7D1084 | RGB: rgb(125, 16, 132) | CMYK: 5%, 88%, 0%, 48% | HSV: 296°, 88%, 52%. Copy any format from the conversion table above.

What colors go well with #7D1084?

The complementary color is HSL(116, 79%, 29%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(296, 79%, 29%) in CSS?

As HSL: color: hsl(296, 79%, 29%); — As HEX: color: #7D1084; — As RGB: color: rgb(125, 16, 132); — Tailwind CSS: bg-[hsl(296,79%,29%)] — CSS variable: --color-primary: hsl(296, 79%, 29%);