HSL(311, 43%, 43%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(311,43%,43%)]

Color Conversions

Format Value CSS Usage
HSL hsl(311, 43%, 43%) color: hsl(311, 43%, 43%)
HEX #9D3F8C color: #9D3F8C
RGB rgb(157, 63, 140) color: rgb(157, 63, 140)
CMYK cmyk(0%, 60%, 11%, 38%)
HSV hsv(311, 60%, 62%)
HWB hwb(311 25% 38%) color: hwb(311 25% 38%)
OKLCH oklch(0.5218 0.1557 335.21) color: oklch(0.5218 0.1557 335.21)
Lab lab(42.18 48.66 -24.03) color: lab(42.18 48.66 -24.03)
LCH lch(42.18 54.27 333.72) color: lch(42.18 54.27 333.72)

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.96:1
vs Black 3.52: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)

#747379 — rgb(116, 115, 121)

Deuteranopia (Green-blind)

#7A8175 — rgb(122, 129, 117)

Tritanopia (Blue-blind)

#986B67 — rgb(152, 107, 103)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(311, 43%, 43%);

text

color: hsl(311, 43%, 43%);

border

border: 2px solid hsl(311, 43%, 43%);

gradient light

background: linear-gradient(to right, hsl(311, 43%, 63%), hsl(311, 43%, 43%));

gradient dark

background: linear-gradient(to right, hsl(311, 43%, 43%), hsl(311, 43%, 23%))

hex

background-color: #9D3F8C;

tailwind

bg-[hsl(311,43%,43%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(311, 43%, 43%, 0.4);

css variable

--color-primary: hsl(311, 43%, 43%);

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(311, 43%, 43%)?

HEX: #9D3F8C | RGB: rgb(157, 63, 140) | CMYK: 0%, 60%, 11%, 38% | HSV: 311°, 60%, 62%. Copy any format from the conversion table above.

What colors go well with #9D3F8C?

The complementary color is HSL(131, 43%, 43%). For a triadic harmony, use hues 311°, 71°, and 191°. For analogous combinations, try hues 281° and 341°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(311, 43%, 43%) in CSS?

As HSL: color: hsl(311, 43%, 43%); — As HEX: color: #9D3F8C; — As RGB: color: rgb(157, 63, 140); — Tailwind CSS: bg-[hsl(311,43%,43%)] — CSS variable: --color-primary: hsl(311, 43%, 43%);