HSL(292, 21%, 59%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,21%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 21%, 59%) | color: hsl(292, 21%, 59%) | |
| HEX | #A780AC | color: #A780AC | |
| RGB | rgb(167, 128, 172) | color: rgb(167, 128, 172) | |
| CMYK | cmyk(3%, 26%, 0%, 33%) | — | |
| HSV | hsv(293, 26%, 67%) | — | |
| HWB | hwb(293 50% 33%) | color: hwb(293 50% 33%) | |
| OKLCH | oklch(0.6523 0.078 322.6) | color: oklch(0.6523 0.078 322.6) | |
| Lab | lab(58.63 22.85 -17.51) | color: lab(58.63 22.85 -17.51) | |
| LCH | lch(58.63 28.79 322.54) | color: lch(58.63 28.79 322.54) |
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)
#9696A1 — rgb(150, 150, 161)
Deuteranopia (Green-blind)
#989B9F — rgb(152, 155, 159)
Tritanopia (Blue-blind)
#A59997 — rgb(165, 153, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 21%, 59%);
text
color: hsl(292, 21%, 59%);
border
border: 2px solid hsl(292, 21%, 59%);
gradient light
background: linear-gradient(to right, hsl(292, 21%, 79%), hsl(292, 21%, 59%));
gradient dark
background: linear-gradient(to right, hsl(292, 21%, 59%), hsl(292, 21%, 39%))
hex
background-color: #A780AC;
tailwind
bg-[hsl(292,21%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 21%, 59%, 0.4);
css variable
--color-primary: hsl(292, 21%, 59%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 21%, 59%)?
HEX: #A780AC | RGB: rgb(167, 128, 172) | CMYK: 3%, 26%, 0%, 33% | HSV: 293°, 26%, 67%. Copy any format from the conversion table above.
What colors go well with #A780AC?
The complementary color is HSL(112, 21%, 59%). 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, 21%, 59%) in CSS?
As HSL: color: hsl(292, 21%, 59%); — As HEX: color: #A780AC; — As RGB: color: rgb(167, 128, 172); — Tailwind CSS: bg-[hsl(292,21%,59%)] — CSS variable: --color-primary: hsl(292, 21%, 59%);