HSL(300, 20%, 47%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(300,20%,47%)]

Color Conversions

Format Value CSS Usage
HSL hsl(300, 20%, 47%) color: hsl(300, 20%, 47%)
HEX #906090 color: #906090
RGB rgb(144, 96, 144) color: rgb(144, 96, 144)
CMYK cmyk(0%, 33%, 0%, 44%)
HSV hsv(300, 33%, 56%)
HWB hwb(300 38% 44%) color: hwb(300 38% 44%)
OKLCH oklch(0.5574 0.0918 326.72) color: oklch(0.5574 0.0918 326.72)
Lab lab(47.38 27.73 -18.57) color: lab(47.38 27.73 -18.57)
LCH lch(47.38 33.37 326.19) color: lch(47.38 33.37 326.19)

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.93:1
vs Black 4.26: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)

#7B7B84 — rgb(123, 123, 132)

Deuteranopia (Green-blind)

#7E8282 — rgb(126, 130, 130)

Tritanopia (Blue-blind)

#8E7B79 — rgb(142, 123, 121)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(300, 20%, 47%);

text

color: hsl(300, 20%, 47%);

border

border: 2px solid hsl(300, 20%, 47%);

gradient light

background: linear-gradient(to right, hsl(300, 20%, 67%), hsl(300, 20%, 47%));

gradient dark

background: linear-gradient(to right, hsl(300, 20%, 47%), hsl(300, 20%, 27%))

hex

background-color: #906090;

tailwind

bg-[hsl(300,20%,47%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(300, 20%, 47%, 0.4);

css variable

--color-primary: hsl(300, 20%, 47%);

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(300, 20%, 47%)?

HEX: #906090 | RGB: rgb(144, 96, 144) | CMYK: 0%, 33%, 0%, 44% | HSV: 300°, 33%, 56%. Copy any format from the conversion table above.

What colors go well with #906090?

The complementary color is HSL(120, 20%, 47%). For a triadic harmony, use hues 300°, 60°, and 180°. For analogous combinations, try hues 270° and 330°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(300, 20%, 47%) in CSS?

As HSL: color: hsl(300, 20%, 47%); — As HEX: color: #906090; — As RGB: color: rgb(144, 96, 144); — Tailwind CSS: bg-[hsl(300,20%,47%)] — CSS variable: --color-primary: hsl(300, 20%, 47%);