HSL(308, 30%, 83%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,30%,83%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 30%, 83%) | color: hsl(308, 30%, 83%) | |
| HEX | #E1C7DD | color: #E1C7DD | |
| RGB | rgb(225, 199, 221) | color: rgb(225, 199, 221) | |
| CMYK | cmyk(0%, 12%, 2%, 12%) | — | |
| HSV | hsv(309, 12%, 88%) | — | |
| HWB | hwb(309 77% 12%) | color: hwb(309 77% 12%) | |
| OKLCH | oklch(0.858 0.0413 330.99) | color: oklch(0.858 0.0413 330.99) | |
| Lab | lab(82.95 12.91 -7.56) | color: lab(82.95 12.91 -7.56) | |
| LCH | lch(82.95 14.96 329.65) | color: lch(82.95 14.96 329.65) |
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)
#D6D6D8 — rgb(214, 214, 216)
Deuteranopia (Green-blind)
#D7D9D6 — rgb(215, 217, 214)
Tritanopia (Blue-blind)
#E0D3D3 — rgb(224, 211, 211)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 30%, 83%);
text
color: hsl(308, 30%, 83%);
border
border: 2px solid hsl(308, 30%, 83%);
gradient light
background: linear-gradient(to right, hsl(308, 30%, 100%), hsl(308, 30%, 83%));
gradient dark
background: linear-gradient(to right, hsl(308, 30%, 83%), hsl(308, 30%, 63%))
hex
background-color: #E1C7DD;
tailwind
bg-[hsl(308,30%,83%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 30%, 83%, 0.4);
css variable
--color-primary: hsl(308, 30%, 83%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 30%, 83%)?
HEX: #E1C7DD | RGB: rgb(225, 199, 221) | CMYK: 0%, 12%, 2%, 12% | HSV: 309°, 12%, 88%. Copy any format from the conversion table above.
What colors go well with #E1C7DD?
The complementary color is HSL(128, 30%, 83%). 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%, 83%) in CSS?
As HSL: color: hsl(308, 30%, 83%); — As HEX: color: #E1C7DD; — As RGB: color: rgb(225, 199, 221); — Tailwind CSS: bg-[hsl(308,30%,83%)] — CSS variable: --color-primary: hsl(308, 30%, 83%);