HSL(308, 48%, 78%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,48%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 48%, 78%) | color: hsl(308, 48%, 78%) | |
| HEX | #E2ACDB | color: #E2ACDB | |
| RGB | rgb(226, 172, 219) | color: rgb(226, 172, 219) | |
| CMYK | cmyk(0%, 24%, 3%, 11%) | — | |
| HSV | hsv(308, 24%, 89%) | — | |
| HWB | hwb(308 68% 11%) | color: hwb(308 68% 11%) | |
| OKLCH | oklch(0.8085 0.0881 330.81) | color: oklch(0.8085 0.0881 330.81) | |
| Lab | lab(76.55 27.35 -16.04) | color: lab(76.55 27.35 -16.04) | |
| LCH | lch(76.55 31.71 329.61) | color: lch(76.55 31.71 329.61) |
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)
#CBCAD0 — rgb(203, 202, 208)
Deuteranopia (Green-blind)
#CED2CD — rgb(206, 210, 205)
Tritanopia (Blue-blind)
#DFC7C5 — rgb(223, 199, 197)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 48%, 78%);
text
color: hsl(308, 48%, 78%);
border
border: 2px solid hsl(308, 48%, 78%);
gradient light
background: linear-gradient(to right, hsl(308, 48%, 98%), hsl(308, 48%, 78%));
gradient dark
background: linear-gradient(to right, hsl(308, 48%, 78%), hsl(308, 48%, 58%))
hex
background-color: #E2ACDB;
tailwind
bg-[hsl(308,48%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 48%, 78%, 0.4);
css variable
--color-primary: hsl(308, 48%, 78%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 48%, 78%)?
HEX: #E2ACDB | RGB: rgb(226, 172, 219) | CMYK: 0%, 24%, 3%, 11% | HSV: 308°, 24%, 89%. Copy any format from the conversion table above.
What colors go well with #E2ACDB?
The complementary color is HSL(128, 48%, 78%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(308, 48%, 78%) in CSS?
As HSL: color: hsl(308, 48%, 78%); — As HEX: color: #E2ACDB; — As RGB: color: rgb(226, 172, 219); — Tailwind CSS: bg-[hsl(308,48%,78%)] — CSS variable: --color-primary: hsl(308, 48%, 78%);