HSL(292, 36%, 59%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(292,36%,59%)]

Color Conversions

Format Value CSS Usage
HSL hsl(292, 36%, 59%) color: hsl(292, 36%, 59%)
HEX #B271BC color: #B271BC
RGB rgb(178, 113, 188) color: rgb(178, 113, 188)
CMYK cmyk(5%, 40%, 0%, 26%)
HSV hsv(292, 40%, 74%)
HWB hwb(292 44% 26%) color: hwb(292 44% 26%)
OKLCH oklch(0.6446 0.1297 322.06) color: oklch(0.6446 0.1297 322.06)
Lab lab(56.98 38.04 -29.1) color: lab(56.98 38.04 -29.1)
LCH lch(56.98 47.89 322.58) color: lch(56.98 47.89 322.58)

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 3.51:1
vs Black 5.98: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)

#9695AA — rgb(150, 149, 170)

Deuteranopia (Green-blind)

#9A9FA6 — rgb(154, 159, 166)

Tritanopia (Blue-blind)

#AF9C98 — rgb(175, 156, 152)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(292, 36%, 59%);

text

color: hsl(292, 36%, 59%);

border

border: 2px solid hsl(292, 36%, 59%);

gradient light

background: linear-gradient(to right, hsl(292, 36%, 79%), hsl(292, 36%, 59%));

gradient dark

background: linear-gradient(to right, hsl(292, 36%, 59%), hsl(292, 36%, 39%))

hex

background-color: #B271BC;

tailwind

bg-[hsl(292,36%,59%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(292, 36%, 59%, 0.4);

css variable

--color-primary: hsl(292, 36%, 59%);

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(292, 36%, 59%)?

HEX: #B271BC | RGB: rgb(178, 113, 188) | CMYK: 5%, 40%, 0%, 26% | HSV: 292°, 40%, 74%. Copy any format from the conversion table above.

What colors go well with #B271BC?

The complementary color is HSL(112, 36%, 59%). For a triadic harmony, use hues 292°, 52°, and 172°. For analogous combinations, try hues 262° and 322°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(292, 36%, 59%) in CSS?

As HSL: color: hsl(292, 36%, 59%); — As HEX: color: #B271BC; — As RGB: color: rgb(178, 113, 188); — Tailwind CSS: bg-[hsl(292,36%,59%)] — CSS variable: --color-primary: hsl(292, 36%, 59%);