HSL(295, 40%, 48%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(295,40%,48%)]

Color Conversions

Format Value CSS Usage
HSL hsl(295, 40%, 48%) color: hsl(295, 40%, 48%)
HEX #A349AB color: #A349AB
RGB rgb(163, 73, 171) color: rgb(163, 73, 171)
CMYK cmyk(5%, 57%, 0%, 33%)
HSV hsv(295, 57%, 67%)
HWB hwb(295 29% 33%) color: hwb(295 29% 33%)
OKLCH oklch(0.5587 0.171 324.31) color: oklch(0.5587 0.171 324.31)
Lab lab(46.3 51.12 -36.06) color: lab(46.3 51.12 -36.06)
LCH lch(46.3 62.56 324.8) color: lch(46.3 62.56 324.8)

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 5.12:1
vs Black 4.1: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)

#7C7B93 — rgb(124, 123, 147)

Deuteranopia (Green-blind)

#81888E — rgb(129, 136, 142)

Tritanopia (Blue-blind)

#9F817C — rgb(159, 129, 124)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(295, 40%, 48%);

text

color: hsl(295, 40%, 48%);

border

border: 2px solid hsl(295, 40%, 48%);

gradient light

background: linear-gradient(to right, hsl(295, 40%, 68%), hsl(295, 40%, 48%));

gradient dark

background: linear-gradient(to right, hsl(295, 40%, 48%), hsl(295, 40%, 28%))

hex

background-color: #A349AB;

tailwind

bg-[hsl(295,40%,48%)]

box shadow

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

css variable

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

HEX: #A349AB | RGB: rgb(163, 73, 171) | CMYK: 5%, 57%, 0%, 33% | HSV: 295°, 57%, 67%. Copy any format from the conversion table above.

What colors go well with #A349AB?

The complementary color is HSL(115, 40%, 48%). For a triadic harmony, use hues 295°, 55°, and 175°. For analogous combinations, try hues 265° and 325°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(295, 40%, 48%) in CSS?

As HSL: color: hsl(295, 40%, 48%); — As HEX: color: #A349AB; — As RGB: color: rgb(163, 73, 171); — Tailwind CSS: bg-[hsl(295,40%,48%)] — CSS variable: --color-primary: hsl(295, 40%, 48%);