HSL(313, 60%, 51%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(313,60%,51%)]

Color Conversions

Format Value CSS Usage
HSL hsl(313, 60%, 51%) color: hsl(313, 60%, 51%)
HEX #CD37AD color: #CD37AD
RGB rgb(205, 55, 173) color: rgb(205, 55, 173)
CMYK cmyk(0%, 73%, 16%, 20%)
HSV hsv(313, 73%, 80%)
HWB hwb(313 22% 20%) color: hwb(313 22% 20%)
OKLCH oklch(0.6014 0.2206 338.04) color: oklch(0.6014 0.2206 338.04)
Lab lab(50.37 69.15 -30.4) color: lab(50.37 69.15 -30.4)
LCH lch(50.37 75.54 336.27) color: lch(50.37 75.54 336.27)

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.43:1
vs Black 4.75: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)

#8C8B90 — rgb(140, 139, 144)

Deuteranopia (Green-blind)

#95A08A — rgb(149, 160, 138)

Tritanopia (Blue-blind)

#C67A75 — rgb(198, 122, 117)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(313, 60%, 51%);

text

color: hsl(313, 60%, 51%);

border

border: 2px solid hsl(313, 60%, 51%);

gradient light

background: linear-gradient(to right, hsl(313, 60%, 71%), hsl(313, 60%, 51%));

gradient dark

background: linear-gradient(to right, hsl(313, 60%, 51%), hsl(313, 60%, 31%))

hex

background-color: #CD37AD;

tailwind

bg-[hsl(313,60%,51%)]

box shadow

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

css variable

--color-primary: hsl(313, 60%, 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(313, 60%, 51%)?

HEX: #CD37AD | RGB: rgb(205, 55, 173) | CMYK: 0%, 73%, 16%, 20% | HSV: 313°, 73%, 80%. Copy any format from the conversion table above.

What colors go well with #CD37AD?

The complementary color is HSL(133, 60%, 51%). For a triadic harmony, use hues 313°, 73°, and 193°. For analogous combinations, try hues 283° and 343°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(313, 60%, 51%) in CSS?

As HSL: color: hsl(313, 60%, 51%); — As HEX: color: #CD37AD; — As RGB: color: rgb(205, 55, 173); — Tailwind CSS: bg-[hsl(313,60%,51%)] — CSS variable: --color-primary: hsl(313, 60%, 51%);