HSL(304, 50%, 48%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(304,50%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(304, 50%, 48%) color: hsl(304, 50%, 48%)
HEX #B83DAF color: #B83DAF
RGB rgb(184, 61, 175) color: rgb(184, 61, 175)
CMYK cmyk(0%, 67%, 5%, 28%)
HSV hsv(304, 67%, 72%)
HWB hwb(304 24% 28%) color: hwb(304 24% 28%)
OKLCH oklch(0.5764 0.203 330.93) color: oklch(0.5764 0.203 330.93)
Lab lab(47.78 62.35 -35.87) color: lab(47.78 62.35 -35.87)
LCH lch(47.78 71.93 330.09) color: lch(47.78 71.93 330.09)

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.86:1
vs Black 4.32: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)

#838293 — rgb(131, 130, 147)

Deuteranopia (Green-blind)

#8A938D — rgb(138, 147, 141)

Tritanopia (Blue-blind)

#B27E79 — rgb(178, 126, 121)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(304, 50%, 48%);

text

color: hsl(304, 50%, 48%);

border

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

gradient light

background: linear-gradient(to right, hsl(304, 50%, 68%), hsl(304, 50%, 48%));

gradient dark

background: linear-gradient(to right, hsl(304, 50%, 48%), hsl(304, 50%, 28%))

hex

background-color: #B83DAF;

tailwind

bg-[hsl(304,50%,48%)]

box shadow

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

css variable

--color-primary: hsl(304, 50%, 48%);

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

HEX: #B83DAF | RGB: rgb(184, 61, 175) | CMYK: 0%, 67%, 5%, 28% | HSV: 304°, 67%, 72%. Copy any format from the conversion table above.

What colors go well with #B83DAF?

The complementary color is HSL(124, 50%, 48%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(304, 50%, 48%) in CSS?

As HSL: color: hsl(304, 50%, 48%); — As HEX: color: #B83DAF; — As RGB: color: rgb(184, 61, 175); — Tailwind CSS: bg-[hsl(304,50%,48%)] — CSS variable: --color-primary: hsl(304, 50%, 48%);