HSL(297, 10%, 64%)
Grayish Purple — Purple color
Adjust Color
Color Information
Color Name
Grayish Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(297,10%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 10%, 64%) | color: hsl(297, 10%, 64%) | |
| HEX | #AB9AAC | color: #AB9AAC | |
| RGB | rgb(171, 154, 172) | color: rgb(171, 154, 172) | |
| CMYK | cmyk(1%, 10%, 0%, 33%) | — | |
| HSV | hsv(297, 10%, 67%) | — | |
| HWB | hwb(297 60% 33%) | color: hwb(297 60% 33%) | |
| OKLCH | oklch(0.7067 0.0322 324.22) | color: oklch(0.7067 0.0322 324.22) | |
| Lab | lab(65.55 9.56 -7.08) | color: lab(65.55 9.56 -7.08) | |
| LCH | lch(65.55 11.9 323.48) | color: lch(65.55 11.9 323.48) |
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)
#A4A3A8 — rgb(164, 163, 168)
Deuteranopia (Green-blind)
#A5A6A7 — rgb(165, 166, 167)
Tritanopia (Blue-blind)
#AAA4A3 — rgb(170, 164, 163)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 10%, 64%);
text
color: hsl(297, 10%, 64%);
border
border: 2px solid hsl(297, 10%, 64%);
gradient light
background: linear-gradient(to right, hsl(297, 10%, 84%), hsl(297, 10%, 64%));
gradient dark
background: linear-gradient(to right, hsl(297, 10%, 64%), hsl(297, 10%, 44%))
hex
background-color: #AB9AAC;
tailwind
bg-[hsl(297,10%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 10%, 64%, 0.4);
css variable
--color-primary: hsl(297, 10%, 64%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 10%, 64%)?
HEX: #AB9AAC | RGB: rgb(171, 154, 172) | CMYK: 1%, 10%, 0%, 33% | HSV: 297°, 10%, 67%. Copy any format from the conversion table above.
What colors go well with #AB9AAC?
The complementary color is HSL(117, 10%, 64%). 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, 10%, 64%) in CSS?
As HSL: color: hsl(297, 10%, 64%); — As HEX: color: #AB9AAC; — As RGB: color: rgb(171, 154, 172); — Tailwind CSS: bg-[hsl(297,10%,64%)] — CSS variable: --color-primary: hsl(297, 10%, 64%);