HSL(300, 70%, 48%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(300,70%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(300, 70%, 48%) color: hsl(300, 70%, 48%)
HEX #D025D0 color: #D025D0
RGB rgb(208, 37, 208) color: rgb(208, 37, 208)
CMYK cmyk(0%, 82%, 0%, 18%)
HSV hsv(300, 82%, 82%)
HWB hwb(300 15% 18%) color: hwb(300 15% 18%)
OKLCH oklch(0.6128 0.2617 328.2) color: oklch(0.6128 0.2617 328.2)
Lab lab(51.02 79.63 -49.66) color: lab(51.02 79.63 -49.66)
LCH lch(51.02 93.85 328.05) color: lch(51.02 93.85 328.05)

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.32:1
vs Black 4.86: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)

#8684A7 — rgb(134, 132, 167)

Deuteranopia (Green-blind)

#909D9D — rgb(144, 157, 157)

Tritanopia (Blue-blind)

#C7867F — rgb(199, 134, 127)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(300, 70%, 48%);

text

color: hsl(300, 70%, 48%);

border

border: 2px solid hsl(300, 70%, 48%);

gradient light

background: linear-gradient(to right, hsl(300, 70%, 68%), hsl(300, 70%, 48%));

gradient dark

background: linear-gradient(to right, hsl(300, 70%, 48%), hsl(300, 70%, 28%))

hex

background-color: #D025D0;

tailwind

bg-[hsl(300,70%,48%)]

box shadow

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

css variable

--color-primary: hsl(300, 70%, 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(300, 70%, 48%)?

HEX: #D025D0 | RGB: rgb(208, 37, 208) | CMYK: 0%, 82%, 0%, 18% | HSV: 300°, 82%, 82%. Copy any format from the conversion table above.

What colors go well with #D025D0?

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

As HSL: color: hsl(300, 70%, 48%); — As HEX: color: #D025D0; — As RGB: color: rgb(208, 37, 208); — Tailwind CSS: bg-[hsl(300,70%,48%)] — CSS variable: --color-primary: hsl(300, 70%, 48%);