HSL(293, 56%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(293,56%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 56%, 76%) | color: hsl(293, 56%, 76%) | |
| HEX | #DCA0E4 | color: #DCA0E4 | |
| RGB | rgb(220, 160, 228) | color: rgb(220, 160, 228) | |
| CMYK | cmyk(4%, 30%, 0%, 11%) | — | |
| HSV | hsv(293, 30%, 89%) | — | |
| HWB | hwb(293 62% 11%) | color: hwb(293 62% 11%) | |
| OKLCH | oklch(0.785 0.1143 322.53) | color: oklch(0.785 0.1143 322.53) | |
| Lab | lab(73.52 33.52 -25.6) | color: lab(73.52 33.52 -25.6) | |
| LCH | lch(73.52 42.18 322.63) | color: lch(73.52 42.18 322.63) |
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)
#C2C1D4 — rgb(194, 193, 212)
Deuteranopia (Green-blind)
#C6CAD0 — rgb(198, 202, 208)
Tritanopia (Blue-blind)
#D9C7C4 — rgb(217, 199, 196)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 56%, 76%);
text
color: hsl(293, 56%, 76%);
border
border: 2px solid hsl(293, 56%, 76%);
gradient light
background: linear-gradient(to right, hsl(293, 56%, 96%), hsl(293, 56%, 76%));
gradient dark
background: linear-gradient(to right, hsl(293, 56%, 76%), hsl(293, 56%, 56%))
hex
background-color: #DCA0E4;
tailwind
bg-[hsl(293,56%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 56%, 76%, 0.4);
css variable
--color-primary: hsl(293, 56%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 56%, 76%)?
HEX: #DCA0E4 | RGB: rgb(220, 160, 228) | CMYK: 4%, 30%, 0%, 11% | HSV: 293°, 30%, 89%. Copy any format from the conversion table above.
What colors go well with #DCA0E4?
The complementary color is HSL(113, 56%, 76%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(293, 56%, 76%) in CSS?
As HSL: color: hsl(293, 56%, 76%); — As HEX: color: #DCA0E4; — As RGB: color: rgb(220, 160, 228); — Tailwind CSS: bg-[hsl(293,56%,76%)] — CSS variable: --color-primary: hsl(293, 56%, 76%);