HSL(308, 30%, 84%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,30%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 30%, 84%) | color: hsl(308, 30%, 84%) | |
| HEX | #E2CADF | color: #E2CADF | |
| RGB | rgb(226, 202, 223) | color: rgb(226, 202, 223) | |
| CMYK | cmyk(0%, 11%, 1%, 11%) | — | |
| HSV | hsv(308, 11%, 89%) | — | |
| HWB | hwb(308 79% 11%) | color: hwb(308 79% 11%) | |
| OKLCH | oklch(0.8652 0.0387 329.93) | color: oklch(0.8652 0.0387 329.93) | |
| Lab | lab(83.83 12.02 -7.32) | color: lab(83.83 12.02 -7.32) | |
| LCH | lch(83.83 14.07 328.66) | color: lch(83.83 14.07 328.66) |
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)
#D8D7DA — rgb(216, 215, 218)
Deuteranopia (Green-blind)
#D9DBD9 — rgb(217, 219, 217)
Tritanopia (Blue-blind)
#E1D6D5 — rgb(225, 214, 213)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 30%, 84%);
text
color: hsl(308, 30%, 84%);
border
border: 2px solid hsl(308, 30%, 84%);
gradient light
background: linear-gradient(to right, hsl(308, 30%, 100%), hsl(308, 30%, 84%));
gradient dark
background: linear-gradient(to right, hsl(308, 30%, 84%), hsl(308, 30%, 64%))
hex
background-color: #E2CADF;
tailwind
bg-[hsl(308,30%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 30%, 84%, 0.4);
css variable
--color-primary: hsl(308, 30%, 84%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 30%, 84%)?
HEX: #E2CADF | RGB: rgb(226, 202, 223) | CMYK: 0%, 11%, 1%, 11% | HSV: 308°, 11%, 89%. Copy any format from the conversion table above.
What colors go well with #E2CADF?
The complementary color is HSL(128, 30%, 84%). 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, 30%, 84%) in CSS?
As HSL: color: hsl(308, 30%, 84%); — As HEX: color: #E2CADF; — As RGB: color: rgb(226, 202, 223); — Tailwind CSS: bg-[hsl(308,30%,84%)] — CSS variable: --color-primary: hsl(308, 30%, 84%);