HSL(291, 19%, 62%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(291,19%,62%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 19%, 62%) | color: hsl(291, 19%, 62%) | |
| HEX | #AB8CB1 | color: #AB8CB1 | |
| RGB | rgb(171, 140, 177) | color: rgb(171, 140, 177) | |
| CMYK | cmyk(3%, 21%, 0%, 31%) | — | |
| HSV | hsv(290, 21%, 69%) | — | |
| HWB | hwb(290 55% 31%) | color: hwb(290 55% 31%) | |
| OKLCH | oklch(0.6809 0.0639 320.83) | color: oklch(0.6809 0.0639 320.83) | |
| Lab | lab(62.16 18.42 -14.98) | color: lab(62.16 18.42 -14.98) | |
| LCH | lch(62.16 23.74 320.88) | color: lch(62.16 23.74 320.88) |
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)
#9E9DA8 — rgb(158, 157, 168)
Deuteranopia (Green-blind)
#9FA2A6 — rgb(159, 162, 166)
Tritanopia (Blue-blind)
#A9A19F — rgb(169, 161, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 19%, 62%);
text
color: hsl(291, 19%, 62%);
border
border: 2px solid hsl(291, 19%, 62%);
gradient light
background: linear-gradient(to right, hsl(291, 19%, 82%), hsl(291, 19%, 62%));
gradient dark
background: linear-gradient(to right, hsl(291, 19%, 62%), hsl(291, 19%, 42%))
hex
background-color: #AB8CB1;
tailwind
bg-[hsl(291,19%,62%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 19%, 62%, 0.4);
css variable
--color-primary: hsl(291, 19%, 62%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 19%, 62%)?
HEX: #AB8CB1 | RGB: rgb(171, 140, 177) | CMYK: 3%, 21%, 0%, 31% | HSV: 290°, 21%, 69%. Copy any format from the conversion table above.
What colors go well with #AB8CB1?
The complementary color is HSL(111, 19%, 62%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(291, 19%, 62%) in CSS?
As HSL: color: hsl(291, 19%, 62%); — As HEX: color: #AB8CB1; — As RGB: color: rgb(171, 140, 177); — Tailwind CSS: bg-[hsl(291,19%,62%)] — CSS variable: --color-primary: hsl(291, 19%, 62%);