HSL(302, 51%, 81%)

Purple — Purple color

Adjust Color

Color Information

Color Name

Purple

Color Family

Purple

Warm / Cool

🔴 Warm

Temperature

6500K

CSS Class

bg-[hsl(302,51%,81%)]

Color Conversions

Format Value CSS Usage
HSL hsl(302, 51%, 81%) color: hsl(302, 51%, 81%)
HEX #E7B6E6 color: #E7B6E6
RGB rgb(231, 182, 230) color: rgb(231, 182, 230)
CMYK cmyk(0%, 21%, 0%, 9%)
HSV hsv(301, 21%, 91%)
HWB hwb(301 72% 9%) color: hwb(301 72% 9%)
OKLCH oklch(0.835 0.0846 326.96) color: oklch(0.835 0.0846 326.96)
Lab lab(79.7 25.64 -17.19) color: lab(79.7 25.64 -17.19)
LCH lch(79.7 30.87 326.16) color: lch(79.7 30.87 326.16)

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.72:1
vs Black 12.23: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)

#D2D1DA — rgb(210, 209, 218)

Deuteranopia (Green-blind)

#D5D8D8 — rgb(213, 216, 216)

Tritanopia (Blue-blind)

#E5D1CF — rgb(229, 209, 207)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(302, 51%, 81%);

text

color: hsl(302, 51%, 81%);

border

border: 2px solid hsl(302, 51%, 81%);

gradient light

background: linear-gradient(to right, hsl(302, 51%, 100%), hsl(302, 51%, 81%));

gradient dark

background: linear-gradient(to right, hsl(302, 51%, 81%), hsl(302, 51%, 61%))

hex

background-color: #E7B6E6;

tailwind

bg-[hsl(302,51%,81%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(302, 51%, 81%, 0.4);

css variable

--color-primary: hsl(302, 51%, 81%);

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(302, 51%, 81%)?

HEX: #E7B6E6 | RGB: rgb(231, 182, 230) | CMYK: 0%, 21%, 0%, 9% | HSV: 301°, 21%, 91%. Copy any format from the conversion table above.

What colors go well with #E7B6E6?

The complementary color is HSL(122, 51%, 81%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(302, 51%, 81%) in CSS?

As HSL: color: hsl(302, 51%, 81%); — As HEX: color: #E7B6E6; — As RGB: color: rgb(231, 182, 230); — Tailwind CSS: bg-[hsl(302,51%,81%)] — CSS variable: --color-primary: hsl(302, 51%, 81%);