HSL(313, 30%, 47%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(313,30%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(313, 30%, 47%) color: hsl(313, 30%, 47%)
HEX #9C548C color: #9C548C
RGB rgb(156, 84, 140) color: rgb(156, 84, 140)
CMYK cmyk(0%, 46%, 10%, 39%)
HSV hsv(313, 46%, 61%)
HWB hwb(313 33% 39%) color: hwb(313 33% 39%)
OKLCH oklch(0.5501 0.1196 335.97) color: oklch(0.5501 0.1196 335.97)
Lab lab(46.05 37.75 -18.08) color: lab(46.05 37.75 -18.08)
LCH lch(46.05 41.86 334.41) color: lch(46.05 41.86 334.41)

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 5.17:1
vs Black 4.06: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)

#7D7C7E — rgb(125, 124, 126)

Deuteranopia (Green-blind)

#81867B — rgb(129, 134, 123)

Tritanopia (Blue-blind)

#987471 — rgb(152, 116, 113)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(313, 30%, 47%);

text

color: hsl(313, 30%, 47%);

border

border: 2px solid hsl(313, 30%, 47%);

gradient light

background: linear-gradient(to right, hsl(313, 30%, 67%), hsl(313, 30%, 47%));

gradient dark

background: linear-gradient(to right, hsl(313, 30%, 47%), hsl(313, 30%, 27%))

hex

background-color: #9C548C;

tailwind

bg-[hsl(313,30%,47%)]

box shadow

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

css variable

--color-primary: hsl(313, 30%, 47%);

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

HEX: #9C548C | RGB: rgb(156, 84, 140) | CMYK: 0%, 46%, 10%, 39% | HSV: 313°, 46%, 61%. Copy any format from the conversion table above.

What colors go well with #9C548C?

The complementary color is HSL(133, 30%, 47%). 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, 30%, 47%) in CSS?

As HSL: color: hsl(313, 30%, 47%); — As HEX: color: #9C548C; — As RGB: color: rgb(156, 84, 140); — Tailwind CSS: bg-[hsl(313,30%,47%)] — CSS variable: --color-primary: hsl(313, 30%, 47%);