HSL(296, 70%, 51%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(296,70%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(296, 70%, 51%) color: hsl(296, 70%, 51%)
HEX #CE2BDA color: #CE2BDA
RGB rgb(206, 43, 218) color: rgb(206, 43, 218)
CMYK cmyk(6%, 80%, 0%, 15%)
HSV hsv(296, 80%, 85%)
HWB hwb(296 17% 15%) color: hwb(296 17% 15%)
OKLCH oklch(0.6191 0.2636 324.96) color: oklch(0.6191 0.2636 324.96)
Lab lab(51.74 79.47 -54.25) color: lab(51.74 79.47 -54.25)
LCH lch(51.74 96.22 325.68) color: lch(51.74 96.22 325.68)

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.21:1
vs Black 4.98: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)

#8786B0 — rgb(135, 134, 176)

Deuteranopia (Green-blind)

#919DA6 — rgb(145, 157, 166)

Tritanopia (Blue-blind)

#C68E87 — rgb(198, 142, 135)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(296, 70%, 51%);

text

color: hsl(296, 70%, 51%);

border

border: 2px solid hsl(296, 70%, 51%);

gradient light

background: linear-gradient(to right, hsl(296, 70%, 71%), hsl(296, 70%, 51%));

gradient dark

background: linear-gradient(to right, hsl(296, 70%, 51%), hsl(296, 70%, 31%))

hex

background-color: #CE2BDA;

tailwind

bg-[hsl(296,70%,51%)]

box shadow

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

css variable

--color-primary: hsl(296, 70%, 51%);

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

HEX: #CE2BDA | RGB: rgb(206, 43, 218) | CMYK: 6%, 80%, 0%, 15% | HSV: 296°, 80%, 85%. Copy any format from the conversion table above.

What colors go well with #CE2BDA?

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

As HSL: color: hsl(296, 70%, 51%); — As HEX: color: #CE2BDA; — As RGB: color: rgb(206, 43, 218); — Tailwind CSS: bg-[hsl(296,70%,51%)] — CSS variable: --color-primary: hsl(296, 70%, 51%);