HSL(301, 50%, 50%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(301,50%,50%)]

Color Conversions

Format Value CSS Usage
HSL hsl(301, 50%, 50%) color: hsl(301, 50%, 50%)
HEX #BF40BD color: #BF40BD
RGB rgb(191, 64, 189) color: rgb(191, 64, 189)
CMYK cmyk(0%, 66%, 1%, 25%)
HSV hsv(301, 66%, 75%)
HWB hwb(301 26% 25%) color: hwb(301 26% 25%)
OKLCH oklch(0.5969 0.214 328.5) color: oklch(0.5969 0.214 328.5)
Lab lab(50 65.17 -40.48) color: lab(50 65.17 -40.48)
LCH lch(50 76.72 328.15) color: lch(50 76.72 328.15)

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.48:1
vs Black 4.68: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)

#88879F — rgb(136, 135, 159)

Deuteranopia (Green-blind)

#8F9998 — rgb(143, 153, 152)

Tritanopia (Blue-blind)

#B98782 — rgb(185, 135, 130)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(301, 50%, 50%);

text

color: hsl(301, 50%, 50%);

border

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

gradient light

background: linear-gradient(to right, hsl(301, 50%, 70%), hsl(301, 50%, 50%));

gradient dark

background: linear-gradient(to right, hsl(301, 50%, 50%), hsl(301, 50%, 30%))

hex

background-color: #BF40BD;

tailwind

bg-[hsl(301,50%,50%)]

box shadow

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

css variable

--color-primary: hsl(301, 50%, 50%);

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

HEX: #BF40BD | RGB: rgb(191, 64, 189) | CMYK: 0%, 66%, 1%, 25% | HSV: 301°, 66%, 75%. Copy any format from the conversion table above.

What colors go well with #BF40BD?

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

As HSL: color: hsl(301, 50%, 50%); — As HEX: color: #BF40BD; — As RGB: color: rgb(191, 64, 189); — Tailwind CSS: bg-[hsl(301,50%,50%)] — CSS variable: --color-primary: hsl(301, 50%, 50%);