HSL(297, 20%, 60%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(297,20%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 20%, 60%) | color: hsl(297, 20%, 60%) | |
| HEX | #AB85AD | color: #AB85AD | |
| RGB | rgb(171, 133, 173) | color: rgb(171, 133, 173) | |
| CMYK | cmyk(1%, 23%, 0%, 32%) | — | |
| HSV | hsv(297, 23%, 68%) | — | |
| HWB | hwb(297 52% 32%) | color: hwb(297 52% 32%) | |
| OKLCH | oklch(0.6661 0.0724 324.73) | color: oklch(0.6661 0.0724 324.73) | |
| Lab | lab(60.29 21.59 -15.53) | color: lab(60.29 21.59 -15.53) | |
| LCH | lch(60.29 26.6 324.27) | color: lch(60.29 26.6 324.27) |
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)
#9B9AA3 — rgb(155, 154, 163)
Deuteranopia (Green-blind)
#9DA0A1 — rgb(157, 160, 161)
Tritanopia (Blue-blind)
#A99C9A — rgb(169, 156, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 20%, 60%);
text
color: hsl(297, 20%, 60%);
border
border: 2px solid hsl(297, 20%, 60%);
gradient light
background: linear-gradient(to right, hsl(297, 20%, 80%), hsl(297, 20%, 60%));
gradient dark
background: linear-gradient(to right, hsl(297, 20%, 60%), hsl(297, 20%, 40%))
hex
background-color: #AB85AD;
tailwind
bg-[hsl(297,20%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 20%, 60%, 0.4);
css variable
--color-primary: hsl(297, 20%, 60%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 20%, 60%)?
HEX: #AB85AD | RGB: rgb(171, 133, 173) | CMYK: 1%, 23%, 0%, 32% | HSV: 297°, 23%, 68%. Copy any format from the conversion table above.
What colors go well with #AB85AD?
The complementary color is HSL(117, 20%, 60%). For a triadic harmony, use hues 297°, 57°, and 177°. For analogous combinations, try hues 267° and 327°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(297, 20%, 60%) in CSS?
As HSL: color: hsl(297, 20%, 60%); — As HEX: color: #AB85AD; — As RGB: color: rgb(171, 133, 173); — Tailwind CSS: bg-[hsl(297,20%,60%)] — CSS variable: --color-primary: hsl(297, 20%, 60%);