HSL(311, 85%, 46%)

Vivid Purple — Purple color

Adjust Color

Color Information

Color Name

Vivid Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(311,85%,46%)]

Color Conversions

Format Value CSS Usage
HSL hsl(311, 85%, 46%) color: hsl(311, 85%, 46%)
HEX #D912B4 color: #D912B4
RGB rgb(217, 18, 180) color: rgb(217, 18, 180)
CMYK cmyk(0%, 92%, 17%, 15%)
HSV hsv(311, 92%, 85%)
HWB hwb(311 7% 15%) color: hwb(311 7% 15%)
OKLCH oklch(0.6042 0.2577 338.44) color: oklch(0.6042 0.2577 338.44)
Lab lab(50.08 80.5 -34.81) color: lab(50.08 80.5 -34.81)
LCH lch(50.08 87.7 336.62) color: lch(50.08 87.7 336.62)

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.47:1
vs Black 4.7: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)

#83818D — rgb(131, 129, 141)

Deuteranopia (Green-blind)

#8E9D83 — rgb(142, 157, 131)

Tritanopia (Blue-blind)

#CF6E67 — rgb(207, 110, 103)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(311, 85%, 46%);

text

color: hsl(311, 85%, 46%);

border

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

gradient light

background: linear-gradient(to right, hsl(311, 85%, 66%), hsl(311, 85%, 46%));

gradient dark

background: linear-gradient(to right, hsl(311, 85%, 46%), hsl(311, 85%, 26%))

hex

background-color: #D912B4;

tailwind

bg-[hsl(311,85%,46%)]

box shadow

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

css variable

--color-primary: hsl(311, 85%, 46%);

Related Colors

Use Cases for Vivid Purple

Luxury brands Creative agencies Beauty products Royalty themes Premium badges

Frequently Asked Questions

What are all the color codes for HSL(311, 85%, 46%)?

HEX: #D912B4 | RGB: rgb(217, 18, 180) | CMYK: 0%, 92%, 17%, 15% | HSV: 311°, 92%, 85%. Copy any format from the conversion table above.

What colors go well with #D912B4?

The complementary color is HSL(131, 85%, 46%). 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, 85%, 46%) in CSS?

As HSL: color: hsl(311, 85%, 46%); — As HEX: color: #D912B4; — As RGB: color: rgb(217, 18, 180); — Tailwind CSS: bg-[hsl(311,85%,46%)] — CSS variable: --color-primary: hsl(311, 85%, 46%);