HSL(292, 37%, 52%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,37%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 37%, 52%) | color: hsl(292, 37%, 52%) | |
| HEX | #A657B2 | color: #A657B2 | |
| RGB | rgb(166, 87, 178) | color: rgb(166, 87, 178) | |
| CMYK | cmyk(7%, 51%, 0%, 30%) | — | |
| HSV | hsv(292, 51%, 70%) | — | |
| HWB | hwb(292 34% 30%) | color: hwb(292 34% 30%) | |
| OKLCH | oklch(0.5853 0.1571 322.2) | color: oklch(0.5853 0.1571 322.2) | |
| Lab | lab(49.66 46.33 -34.85) | color: lab(49.66 46.33 -34.85) | |
| LCH | lch(49.66 57.97 323.05) | color: lch(49.66 57.97 323.05) |
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)
#84839C — rgb(132, 131, 156)
Deuteranopia (Green-blind)
#888E97 — rgb(136, 142, 151)
Tritanopia (Blue-blind)
#A28B87 — rgb(162, 139, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 37%, 52%);
text
color: hsl(292, 37%, 52%);
border
border: 2px solid hsl(292, 37%, 52%);
gradient light
background: linear-gradient(to right, hsl(292, 37%, 72%), hsl(292, 37%, 52%));
gradient dark
background: linear-gradient(to right, hsl(292, 37%, 52%), hsl(292, 37%, 32%))
hex
background-color: #A657B2;
tailwind
bg-[hsl(292,37%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 37%, 52%, 0.4);
css variable
--color-primary: hsl(292, 37%, 52%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 37%, 52%)?
HEX: #A657B2 | RGB: rgb(166, 87, 178) | CMYK: 7%, 51%, 0%, 30% | HSV: 292°, 51%, 70%. Copy any format from the conversion table above.
What colors go well with #A657B2?
The complementary color is HSL(112, 37%, 52%). 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, 37%, 52%) in CSS?
As HSL: color: hsl(292, 37%, 52%); — As HEX: color: #A657B2; — As RGB: color: rgb(166, 87, 178); — Tailwind CSS: bg-[hsl(292,37%,52%)] — CSS variable: --color-primary: hsl(292, 37%, 52%);