HSL(287, 93%, 80%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(287,93%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 93%, 80%) | color: hsl(287, 93%, 80%) | |
| HEX | #E79DFB | color: #E79DFB | |
| RGB | rgb(231, 157, 251) | color: rgb(231, 157, 251) | |
| CMYK | cmyk(8%, 37%, 0%, 2%) | — | |
| HSV | hsv(287, 37%, 98%) | — | |
| HWB | hwb(287 62% 2%) | color: hwb(287 62% 2%) | |
| OKLCH | oklch(0.8006 0.1501 318.92) | color: oklch(0.8006 0.1501 318.92) | |
| Lab | lab(74.87 42.94 -35.93) | color: lab(74.87 42.94 -35.93) | |
| LCH | lch(74.87 55.99 320.08) | color: lch(74.87 55.99 320.08) |
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)
#C7C6E4 — rgb(199, 198, 228)
Deuteranopia (Green-blind)
#CBD1DF — rgb(203, 209, 223)
Tritanopia (Blue-blind)
#E3D2CE — rgb(227, 210, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 93%, 80%);
text
color: hsl(287, 93%, 80%);
border
border: 2px solid hsl(287, 93%, 80%);
gradient light
background: linear-gradient(to right, hsl(287, 93%, 100%), hsl(287, 93%, 80%));
gradient dark
background: linear-gradient(to right, hsl(287, 93%, 80%), hsl(287, 93%, 60%))
hex
background-color: #E79DFB;
tailwind
bg-[hsl(287,93%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 93%, 80%, 0.4);
css variable
--color-primary: hsl(287, 93%, 80%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(287, 93%, 80%)?
HEX: #E79DFB | RGB: rgb(231, 157, 251) | CMYK: 8%, 37%, 0%, 2% | HSV: 287°, 37%, 98%. Copy any format from the conversion table above.
What colors go well with #E79DFB?
The complementary color is HSL(107, 93%, 80%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(287, 93%, 80%) in CSS?
As HSL: color: hsl(287, 93%, 80%); — As HEX: color: #E79DFB; — As RGB: color: rgb(231, 157, 251); — Tailwind CSS: bg-[hsl(287,93%,80%)] — CSS variable: --color-primary: hsl(287, 93%, 80%);