HSL(306, 60%, 81%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(306,60%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(306, 60%, 81%) | color: hsl(306, 60%, 81%) | |
| HEX | #ECB1E6 | color: #ECB1E6 | |
| RGB | rgb(236, 177, 230) | color: rgb(236, 177, 230) | |
| CMYK | cmyk(0%, 25%, 3%, 7%) | — | |
| HSV | hsv(306, 25%, 93%) | — | |
| HWB | hwb(306 70% 7%) | color: hwb(306 70% 7%) | |
| OKLCH | oklch(0.831 0.0971 329.87) | color: oklch(0.831 0.0971 329.87) | |
| Lab | lab(79.04 29.96 -18.15) | color: lab(79.04 29.96 -18.15) | |
| LCH | lch(79.04 35.03 328.79) | color: lch(79.04 35.03 328.79) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#D2D2D9 — rgb(210, 210, 217)
Deuteranopia (Green-blind)
#D6DAD6 — rgb(214, 218, 214)
Tritanopia (Blue-blind)
#E9CFCD — rgb(233, 207, 205)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(306, 60%, 81%);
text
color: hsl(306, 60%, 81%);
border
border: 2px solid hsl(306, 60%, 81%);
gradient light
background: linear-gradient(to right, hsl(306, 60%, 100%), hsl(306, 60%, 81%));
gradient dark
background: linear-gradient(to right, hsl(306, 60%, 81%), hsl(306, 60%, 61%))
hex
background-color: #ECB1E6;
tailwind
bg-[hsl(306,60%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(306, 60%, 81%, 0.4);
css variable
--color-primary: hsl(306, 60%, 81%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(306, 60%, 81%)?
HEX: #ECB1E6 | RGB: rgb(236, 177, 230) | CMYK: 0%, 25%, 3%, 7% | HSV: 306°, 25%, 93%. Copy any format from the conversion table above.
What colors go well with #ECB1E6?
The complementary color is HSL(126, 60%, 81%). For a triadic harmony, use hues 306°, 66°, and 186°. For analogous combinations, try hues 276° and 336°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(306, 60%, 81%) in CSS?
As HSL: color: hsl(306, 60%, 81%); — As HEX: color: #ECB1E6; — As RGB: color: rgb(236, 177, 230); — Tailwind CSS: bg-[hsl(306,60%,81%)] — CSS variable: --color-primary: hsl(306, 60%, 81%);