HSL(292, 78%, 64%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,78%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 78%, 64%) | color: hsl(292, 78%, 64%) | |
| HEX | #D85CEB | color: #D85CEB | |
| RGB | rgb(216, 92, 235) | color: rgb(216, 92, 235) | |
| CMYK | cmyk(8%, 61%, 0%, 8%) | — | |
| HSV | hsv(292, 61%, 92%) | — | |
| HWB | hwb(292 36% 8%) | color: hwb(292 36% 8%) | |
| OKLCH | oklch(0.6851 0.2284 322.15) | color: oklch(0.6851 0.2284 322.15) | |
| Lab | lab(60.12 67.69 -50.39) | color: lab(60.12 67.69 -50.39) | |
| LCH | lch(60.12 84.39 323.34) | color: lch(60.12 84.39 323.34) |
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)
#A2A1C8 — rgb(162, 161, 200)
Deuteranopia (Green-blind)
#AAB3C0 — rgb(170, 179, 192)
Tritanopia (Blue-blind)
#D2ADA7 — rgb(210, 173, 167)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 78%, 64%);
text
color: hsl(292, 78%, 64%);
border
border: 2px solid hsl(292, 78%, 64%);
gradient light
background: linear-gradient(to right, hsl(292, 78%, 84%), hsl(292, 78%, 64%));
gradient dark
background: linear-gradient(to right, hsl(292, 78%, 64%), hsl(292, 78%, 44%))
hex
background-color: #D85CEB;
tailwind
bg-[hsl(292,78%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 78%, 64%, 0.4);
css variable
--color-primary: hsl(292, 78%, 64%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 78%, 64%)?
HEX: #D85CEB | RGB: rgb(216, 92, 235) | CMYK: 8%, 61%, 0%, 8% | HSV: 292°, 61%, 92%. Copy any format from the conversion table above.
What colors go well with #D85CEB?
The complementary color is HSL(112, 78%, 64%). For a triadic harmony, use hues 292°, 52°, and 172°. For analogous combinations, try hues 262° and 322°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(292, 78%, 64%) in CSS?
As HSL: color: hsl(292, 78%, 64%); — As HEX: color: #D85CEB; — As RGB: color: rgb(216, 92, 235); — Tailwind CSS: bg-[hsl(292,78%,64%)] — CSS variable: --color-primary: hsl(292, 78%, 64%);