HSL(297, 23%, 85%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,23%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 23%, 85%) | color: hsl(297, 23%, 85%) | |
| HEX | #E1D0E2 | color: #E1D0E2 | |
| RGB | rgb(225, 208, 226) | color: rgb(225, 208, 226) | |
| CMYK | cmyk(0%, 8%, 0%, 11%) | — | |
| HSV | hsv(297, 8%, 89%) | — | |
| HWB | hwb(297 82% 11%) | color: hwb(297 82% 11%) | |
| OKLCH | oklch(0.8768 0.0305 324.16) | color: oklch(0.8768 0.0305 324.16) | |
| Lab | lab(85.31 9.06 -6.74) | color: lab(85.31 9.06 -6.74) | |
| LCH | lch(85.31 11.29 323.35) | color: lch(85.31 11.29 323.35) |
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)
#DAD9DE — rgb(218, 217, 222)
Deuteranopia (Green-blind)
#DBDCDD — rgb(219, 220, 221)
Tritanopia (Blue-blind)
#E0DAD9 — rgb(224, 218, 217)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 23%, 85%);
text
color: hsl(297, 23%, 85%);
border
border: 2px solid hsl(297, 23%, 85%);
gradient light
background: linear-gradient(to right, hsl(297, 23%, 100%), hsl(297, 23%, 85%));
gradient dark
background: linear-gradient(to right, hsl(297, 23%, 85%), hsl(297, 23%, 65%))
hex
background-color: #E1D0E2;
tailwind
bg-[hsl(297,23%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 23%, 85%, 0.4);
css variable
--color-primary: hsl(297, 23%, 85%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 23%, 85%)?
HEX: #E1D0E2 | RGB: rgb(225, 208, 226) | CMYK: 0%, 8%, 0%, 11% | HSV: 297°, 8%, 89%. Copy any format from the conversion table above.
What colors go well with #E1D0E2?
The complementary color is HSL(117, 23%, 85%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 23%, 85%) in CSS?
As HSL: color: hsl(297, 23%, 85%); — As HEX: color: #E1D0E2; — As RGB: color: rgb(225, 208, 226); — Tailwind CSS: bg-[hsl(297,23%,85%)] — CSS variable: --color-primary: hsl(297, 23%, 85%);