HSL(301, 65%, 79%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(301,65%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(301, 65%, 79%) | color: hsl(301, 65%, 79%) | |
| HEX | #ECA7EB | color: #ECA7EB | |
| RGB | rgb(236, 167, 235) | color: rgb(236, 167, 235) | |
| CMYK | cmyk(0%, 29%, 0%, 7%) | — | |
| HSV | hsv(301, 29%, 93%) | — | |
| HWB | hwb(301 66% 7%) | color: hwb(301 66% 7%) | |
| OKLCH | oklch(0.8157 0.1194 327.08) | color: oklch(0.8157 0.1194 327.08) | |
| Lab | lab(76.96 36.18 -24) | color: lab(76.96 36.18 -24) | |
| LCH | lch(76.96 43.42 326.44) | color: lch(76.96 43.42 326.44) |
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)
#CECEDB — rgb(206, 206, 219)
Deuteranopia (Green-blind)
#D2D7D7 — rgb(210, 215, 215)
Tritanopia (Blue-blind)
#E9CECB — rgb(233, 206, 203)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(301, 65%, 79%);
text
color: hsl(301, 65%, 79%);
border
border: 2px solid hsl(301, 65%, 79%);
gradient light
background: linear-gradient(to right, hsl(301, 65%, 99%), hsl(301, 65%, 79%));
gradient dark
background: linear-gradient(to right, hsl(301, 65%, 79%), hsl(301, 65%, 59%))
hex
background-color: #ECA7EB;
tailwind
bg-[hsl(301,65%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(301, 65%, 79%, 0.4);
css variable
--color-primary: hsl(301, 65%, 79%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(301, 65%, 79%)?
HEX: #ECA7EB | RGB: rgb(236, 167, 235) | CMYK: 0%, 29%, 0%, 7% | HSV: 301°, 29%, 93%. Copy any format from the conversion table above.
What colors go well with #ECA7EB?
The complementary color is HSL(121, 65%, 79%). For a triadic harmony, use hues 301°, 61°, and 181°. For analogous combinations, try hues 271° and 331°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(301, 65%, 79%) in CSS?
As HSL: color: hsl(301, 65%, 79%); — As HEX: color: #ECA7EB; — As RGB: color: rgb(236, 167, 235); — Tailwind CSS: bg-[hsl(301,65%,79%)] — CSS variable: --color-primary: hsl(301, 65%, 79%);