HSL(296, 78%, 50%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(296,78%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(296, 78%, 50%) color: hsl(296, 78%, 50%)
HEX #D61CE3 color: #D61CE3
RGB rgb(214, 28, 227) color: rgb(214, 28, 227)
CMYK cmyk(6%, 88%, 0%, 11%)
HSV hsv(296, 88%, 89%)
HWB hwb(296 11% 11%) color: hwb(296 11% 11%)
OKLCH oklch(0.6293 0.2823 325.02) color: oklch(0.6293 0.2823 325.02)
Lab lab(52.59 85.21 -57.92) color: lab(52.59 85.21 -57.92)
LCH lch(52.59 103.03 325.79) color: lch(52.59 103.03 325.79)

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.09:1
vs Black 5.13: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)

#8584B3 — rgb(133, 132, 179)

Deuteranopia (Green-blind)

#909EA7 — rgb(144, 158, 167)

Tritanopia (Blue-blind)

#CD8D84 — rgb(205, 141, 132)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(296, 78%, 50%);

text

color: hsl(296, 78%, 50%);

border

border: 2px solid hsl(296, 78%, 50%);

gradient light

background: linear-gradient(to right, hsl(296, 78%, 70%), hsl(296, 78%, 50%));

gradient dark

background: linear-gradient(to right, hsl(296, 78%, 50%), hsl(296, 78%, 30%))

hex

background-color: #D61CE3;

tailwind

bg-[hsl(296,78%,50%)]

box shadow

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

css variable

--color-primary: hsl(296, 78%, 50%);

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

HEX: #D61CE3 | RGB: rgb(214, 28, 227) | CMYK: 6%, 88%, 0%, 11% | HSV: 296°, 88%, 89%. Copy any format from the conversion table above.

What colors go well with #D61CE3?

The complementary color is HSL(116, 78%, 50%). 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, 78%, 50%) in CSS?

As HSL: color: hsl(296, 78%, 50%); — As HEX: color: #D61CE3; — As RGB: color: rgb(214, 28, 227); — Tailwind CSS: bg-[hsl(296,78%,50%)] — CSS variable: --color-primary: hsl(296, 78%, 50%);