HSL(301, 78%, 40%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(301,78%,40%)]

Color Conversions

Format Value CSS Usage
HSL hsl(301, 78%, 40%) color: hsl(301, 78%, 40%)
HEX #B616B3 color: #B616B3
RGB rgb(182, 22, 179) color: rgb(182, 22, 179)
CMYK cmyk(0%, 88%, 2%, 29%)
HSV hsv(301, 88%, 71%)
HWB hwb(301 9% 29%) color: hwb(301 9% 29%)
OKLCH oklch(0.5488 0.2403 329.17) color: oklch(0.5488 0.2403 329.17)
Lab lab(43.91 73.33 -44.39) color: lab(43.91 73.33 -44.39)
LCH lch(43.91 85.72 328.81) color: lch(43.91 85.72 328.81)

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.59:1
vs Black 3.75: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)

#716F8D — rgb(113, 111, 141)

Deuteranopia (Green-blind)

#7A8684 — rgb(122, 134, 132)

Tritanopia (Blue-blind)

#AE6F68 — rgb(174, 111, 104)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(301, 78%, 40%);

text

color: hsl(301, 78%, 40%);

border

border: 2px solid hsl(301, 78%, 40%);

gradient light

background: linear-gradient(to right, hsl(301, 78%, 60%), hsl(301, 78%, 40%));

gradient dark

background: linear-gradient(to right, hsl(301, 78%, 40%), hsl(301, 78%, 20%))

hex

background-color: #B616B3;

tailwind

bg-[hsl(301,78%,40%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(301, 78%, 40%, 0.4);

css variable

--color-primary: hsl(301, 78%, 40%);

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(301, 78%, 40%)?

HEX: #B616B3 | RGB: rgb(182, 22, 179) | CMYK: 0%, 88%, 2%, 29% | HSV: 301°, 88%, 71%. Copy any format from the conversion table above.

What colors go well with #B616B3?

The complementary color is HSL(121, 78%, 40%). For a triadic harmony, use hues 301°, 61°, and 181°. For analogous combinations, try hues 271° and 331°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(301, 78%, 40%) in CSS?

As HSL: color: hsl(301, 78%, 40%); — As HEX: color: #B616B3; — As RGB: color: rgb(182, 22, 179); — Tailwind CSS: bg-[hsl(301,78%,40%)] — CSS variable: --color-primary: hsl(301, 78%, 40%);