HSL(310, 40%, 83%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

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

Color Conversions

Format Value CSS Usage
HSL hsl(310, 40%, 83%) color: hsl(310, 40%, 83%)
HEX #E5C2DF color: #E5C2DF
RGB rgb(229, 194, 223) color: rgb(229, 194, 223)
CMYK cmyk(0%, 15%, 3%, 10%)
HSV hsv(310, 15%, 90%)
HWB hwb(310 77% 10%) color: hwb(310 77% 10%)
OKLCH oklch(0.8527 0.0551 331.85) color: oklch(0.8527 0.0551 331.85)
Lab lab(82.15 17.29 -9.79) color: lab(82.15 17.29 -9.79)
LCH lch(82.15 19.87 330.48) color: lch(82.15 19.87 330.48)

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.11: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)

#D6D6D8 — rgb(214, 214, 216)

Deuteranopia (Green-blind)

#D8DBD6 — rgb(216, 219, 214)

Tritanopia (Blue-blind)

#E3D2D1 — rgb(227, 210, 209)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

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

text

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

border

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

gradient light

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

gradient dark

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

hex

background-color: #E5C2DF;

tailwind

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

box shadow

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

css variable

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

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

What colors go well with #E5C2DF?

The complementary color is HSL(130, 40%, 83%). For a triadic harmony, use hues 310°, 70°, and 190°. For analogous combinations, try hues 280° and 340°. See the Color Harmony section above for complete palettes with previews.

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

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