HSL(286, 85%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(286,85%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(286, 85%, 76%) | color: hsl(286, 85%, 76%) | |
| HEX | #DE8EF6 | color: #DE8EF6 | |
| RGB | rgb(222, 142, 246) | color: rgb(222, 142, 246) | |
| CMYK | cmyk(10%, 42%, 0%, 4%) | — | |
| HSV | hsv(286, 42%, 96%) | — | |
| HWB | hwb(286 56% 4%) | color: hwb(286 56% 4%) | |
| OKLCH | oklch(0.7653 0.1653 318.13) | color: oklch(0.7653 0.1653 318.13) | |
| Lab | lab(70.55 47.19 -40.01) | color: lab(70.55 47.19 -40.01) | |
| LCH | lch(70.55 61.87 319.71) | color: lch(70.55 61.87 319.71) |
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)
#BBBBDD — rgb(187, 187, 221)
Deuteranopia (Green-blind)
#C0C6D7 — rgb(192, 198, 215)
Tritanopia (Blue-blind)
#DAC9C5 — rgb(218, 201, 197)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(286, 85%, 76%);
text
color: hsl(286, 85%, 76%);
border
border: 2px solid hsl(286, 85%, 76%);
gradient light
background: linear-gradient(to right, hsl(286, 85%, 96%), hsl(286, 85%, 76%));
gradient dark
background: linear-gradient(to right, hsl(286, 85%, 76%), hsl(286, 85%, 56%))
hex
background-color: #DE8EF6;
tailwind
bg-[hsl(286,85%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(286, 85%, 76%, 0.4);
css variable
--color-primary: hsl(286, 85%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(286, 85%, 76%)?
HEX: #DE8EF6 | RGB: rgb(222, 142, 246) | CMYK: 10%, 42%, 0%, 4% | HSV: 286°, 42%, 96%. Copy any format from the conversion table above.
What colors go well with #DE8EF6?
The complementary color is HSL(106, 85%, 76%). For a triadic harmony, use hues 286°, 46°, and 166°. For analogous combinations, try hues 256° and 316°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(286, 85%, 76%) in CSS?
As HSL: color: hsl(286, 85%, 76%); — As HEX: color: #DE8EF6; — As RGB: color: rgb(222, 142, 246); — Tailwind CSS: bg-[hsl(286,85%,76%)] — CSS variable: --color-primary: hsl(286, 85%, 76%);