HSL(285, 92%, 80%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(285,92%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(285, 92%, 80%) | color: hsl(285, 92%, 80%) | |
| HEX | #E39DFB | color: #E39DFB | |
| RGB | rgb(227, 157, 251) | color: rgb(227, 157, 251) | |
| CMYK | cmyk(10%, 37%, 0%, 2%) | — | |
| HSV | hsv(285, 37%, 98%) | — | |
| HWB | hwb(285 62% 2%) | color: hwb(285 62% 2%) | |
| OKLCH | oklch(0.7966 0.148 317.18) | color: oklch(0.7966 0.148 317.18) | |
| Lab | lab(74.45 41.75 -36.61) | color: lab(74.45 41.75 -36.61) | |
| LCH | lch(74.45 55.53 318.75) | color: lch(74.45 55.53 318.75) |
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)
#C5C4E4 — rgb(197, 196, 228)
Deuteranopia (Green-blind)
#C9CEDF — rgb(201, 206, 223)
Tritanopia (Blue-blind)
#E0D2CE — rgb(224, 210, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(285, 92%, 80%);
text
color: hsl(285, 92%, 80%);
border
border: 2px solid hsl(285, 92%, 80%);
gradient light
background: linear-gradient(to right, hsl(285, 92%, 100%), hsl(285, 92%, 80%));
gradient dark
background: linear-gradient(to right, hsl(285, 92%, 80%), hsl(285, 92%, 60%))
hex
background-color: #E39DFB;
tailwind
bg-[hsl(285,92%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(285, 92%, 80%, 0.4);
css variable
--color-primary: hsl(285, 92%, 80%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(285, 92%, 80%)?
HEX: #E39DFB | RGB: rgb(227, 157, 251) | CMYK: 10%, 37%, 0%, 2% | HSV: 285°, 37%, 98%. Copy any format from the conversion table above.
What colors go well with #E39DFB?
The complementary color is HSL(105, 92%, 80%). For a triadic harmony, use hues 285°, 45°, and 165°. For analogous combinations, try hues 255° and 315°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(285, 92%, 80%) in CSS?
As HSL: color: hsl(285, 92%, 80%); — As HEX: color: #E39DFB; — As RGB: color: rgb(227, 157, 251); — Tailwind CSS: bg-[hsl(285,92%,80%)] — CSS variable: --color-primary: hsl(285, 92%, 80%);