HSL(302, 64%, 79%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,64%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 64%, 79%) | color: hsl(302, 64%, 79%) | |
| HEX | #ECA7E9 | color: #ECA7E9 | |
| RGB | rgb(236, 167, 233) | color: rgb(236, 167, 233) | |
| CMYK | cmyk(0%, 29%, 1%, 7%) | — | |
| HSV | hsv(303, 29%, 93%) | — | |
| HWB | hwb(303 66% 7%) | color: hwb(303 66% 7%) | |
| OKLCH | oklch(0.815 0.1175 328.06) | color: oklch(0.815 0.1175 328.06) | |
| Lab | lab(76.89 35.82 -23.02) | color: lab(76.89 35.82 -23.02) | |
| LCH | lch(76.89 42.58 327.27) | color: lch(76.89 42.58 327.27) |
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)
#CECED9 — rgb(206, 206, 217)
Deuteranopia (Green-blind)
#D2D7D5 — rgb(210, 215, 213)
Tritanopia (Blue-blind)
#E9CCCA — rgb(233, 204, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 64%, 79%);
text
color: hsl(302, 64%, 79%);
border
border: 2px solid hsl(302, 64%, 79%);
gradient light
background: linear-gradient(to right, hsl(302, 64%, 99%), hsl(302, 64%, 79%));
gradient dark
background: linear-gradient(to right, hsl(302, 64%, 79%), hsl(302, 64%, 59%))
hex
background-color: #ECA7E9;
tailwind
bg-[hsl(302,64%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 64%, 79%, 0.4);
css variable
--color-primary: hsl(302, 64%, 79%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 64%, 79%)?
HEX: #ECA7E9 | RGB: rgb(236, 167, 233) | CMYK: 0%, 29%, 1%, 7% | HSV: 303°, 29%, 93%. Copy any format from the conversion table above.
What colors go well with #ECA7E9?
The complementary color is HSL(122, 64%, 79%). 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, 64%, 79%) in CSS?
As HSL: color: hsl(302, 64%, 79%); — As HEX: color: #ECA7E9; — As RGB: color: rgb(236, 167, 233); — Tailwind CSS: bg-[hsl(302,64%,79%)] — CSS variable: --color-primary: hsl(302, 64%, 79%);