HSL(296, 28%, 53%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(296,28%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(296, 28%, 53%) | color: hsl(296, 28%, 53%) | |
| HEX | #A466A9 | color: #A466A9 | |
| RGB | rgb(164, 102, 169) | color: rgb(164, 102, 169) | |
| CMYK | cmyk(3%, 40%, 0%, 34%) | — | |
| HSV | hsv(296, 40%, 66%) | — | |
| HWB | hwb(296 40% 34%) | color: hwb(296 40% 34%) | |
| OKLCH | oklch(0.6019 0.1207 324.28) | color: oklch(0.6019 0.1207 324.28) | |
| Lab | lab(52.13 35.91 -25.78) | color: lab(52.13 35.91 -25.78) | |
| LCH | lch(52.13 44.21 324.33) | color: lch(52.13 44.21 324.33) |
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)
#898999 — rgb(137, 137, 153)
Deuteranopia (Green-blind)
#8D9195 — rgb(141, 145, 149)
Tritanopia (Blue-blind)
#A18C89 — rgb(161, 140, 137)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(296, 28%, 53%);
text
color: hsl(296, 28%, 53%);
border
border: 2px solid hsl(296, 28%, 53%);
gradient light
background: linear-gradient(to right, hsl(296, 28%, 73%), hsl(296, 28%, 53%));
gradient dark
background: linear-gradient(to right, hsl(296, 28%, 53%), hsl(296, 28%, 33%))
hex
background-color: #A466A9;
tailwind
bg-[hsl(296,28%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(296, 28%, 53%, 0.4);
css variable
--color-primary: hsl(296, 28%, 53%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(296, 28%, 53%)?
HEX: #A466A9 | RGB: rgb(164, 102, 169) | CMYK: 3%, 40%, 0%, 34% | HSV: 296°, 40%, 66%. Copy any format from the conversion table above.
What colors go well with #A466A9?
The complementary color is HSL(116, 28%, 53%). For a triadic harmony, use hues 296°, 56°, and 176°. For analogous combinations, try hues 266° and 326°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(296, 28%, 53%) in CSS?
As HSL: color: hsl(296, 28%, 53%); — As HEX: color: #A466A9; — As RGB: color: rgb(164, 102, 169); — Tailwind CSS: bg-[hsl(296,28%,53%)] — CSS variable: --color-primary: hsl(296, 28%, 53%);