HSL(289, 20%, 58%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(289,20%,58%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(289, 20%, 58%) | color: hsl(289, 20%, 58%) | |
| HEX | #A17EA9 | color: #A17EA9 | |
| RGB | rgb(161, 126, 169) | color: rgb(161, 126, 169) | |
| CMYK | cmyk(5%, 25%, 0%, 34%) | — | |
| HSV | hsv(289, 25%, 66%) | — | |
| HWB | hwb(289 50% 34%) | color: hwb(289 50% 34%) | |
| OKLCH | oklch(0.6413 0.0745 319.98) | color: oklch(0.6413 0.0745 319.98) | |
| Lab | lab(57.43 21.34 -17.68) | color: lab(57.43 21.34 -17.68) | |
| LCH | lch(57.43 27.71 320.36) | color: lch(57.43 27.71 320.36) |
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)
#92929F — rgb(146, 146, 159)
Deuteranopia (Green-blind)
#94979C — rgb(148, 151, 156)
Tritanopia (Blue-blind)
#9F9695 — rgb(159, 150, 149)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(289, 20%, 58%);
text
color: hsl(289, 20%, 58%);
border
border: 2px solid hsl(289, 20%, 58%);
gradient light
background: linear-gradient(to right, hsl(289, 20%, 78%), hsl(289, 20%, 58%));
gradient dark
background: linear-gradient(to right, hsl(289, 20%, 58%), hsl(289, 20%, 38%))
hex
background-color: #A17EA9;
tailwind
bg-[hsl(289,20%,58%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(289, 20%, 58%, 0.4);
css variable
--color-primary: hsl(289, 20%, 58%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(289, 20%, 58%)?
HEX: #A17EA9 | RGB: rgb(161, 126, 169) | CMYK: 5%, 25%, 0%, 34% | HSV: 289°, 25%, 66%. Copy any format from the conversion table above.
What colors go well with #A17EA9?
The complementary color is HSL(109, 20%, 58%). For a triadic harmony, use hues 289°, 49°, and 169°. For analogous combinations, try hues 259° and 319°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(289, 20%, 58%) in CSS?
As HSL: color: hsl(289, 20%, 58%); — As HEX: color: #A17EA9; — As RGB: color: rgb(161, 126, 169); — Tailwind CSS: bg-[hsl(289,20%,58%)] — CSS variable: --color-primary: hsl(289, 20%, 58%);