HSL(299, 40%, 83%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(299,40%,83%)]

Color Conversions

Format Value CSS Usage
HSL hsl(299, 40%, 83%) color: hsl(299, 40%, 83%)
HEX #E4C2E5 color: #E4C2E5
RGB rgb(228, 194, 229) color: rgb(228, 194, 229)
CMYK cmyk(0%, 15%, 0%, 10%)
HSV hsv(298, 15%, 90%)
HWB hwb(298 77% 10%) color: hwb(298 77% 10%)
OKLCH oklch(0.8538 0.0603 325.2) color: oklch(0.8538 0.0603 325.2)
Lab lab(82.24 18.05 -12.88) color: lab(82.24 18.05 -12.88)
LCH lch(82.24 22.17 324.49) color: lch(82.24 22.17 324.49)

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 1.6:1
vs Black 13.15:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#D5D5DD — rgb(213, 213, 221)

Deuteranopia (Green-blind)

#D7DADB — rgb(215, 218, 219)

Tritanopia (Blue-blind)

#E2D6D4 — rgb(226, 214, 212)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(299, 40%, 83%);

text

color: hsl(299, 40%, 83%);

border

border: 2px solid hsl(299, 40%, 83%);

gradient light

background: linear-gradient(to right, hsl(299, 40%, 100%), hsl(299, 40%, 83%));

gradient dark

background: linear-gradient(to right, hsl(299, 40%, 83%), hsl(299, 40%, 63%))

hex

background-color: #E4C2E5;

tailwind

bg-[hsl(299,40%,83%)]

box shadow

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

css variable

--color-primary: hsl(299, 40%, 83%);

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(299, 40%, 83%)?

HEX: #E4C2E5 | RGB: rgb(228, 194, 229) | CMYK: 0%, 15%, 0%, 10% | HSV: 298°, 15%, 90%. Copy any format from the conversion table above.

What colors go well with #E4C2E5?

The complementary color is HSL(119, 40%, 83%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(299, 40%, 83%) in CSS?

As HSL: color: hsl(299, 40%, 83%); — As HEX: color: #E4C2E5; — As RGB: color: rgb(228, 194, 229); — Tailwind CSS: bg-[hsl(299,40%,83%)] — CSS variable: --color-primary: hsl(299, 40%, 83%);