HSL(297, 10%, 59%)
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%,59%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(297, 10%, 59%) | color: hsl(297, 10%, 59%) | |
| HEX | #A08CA1 | color: #A08CA1 | |
| RGB | rgb(160, 140, 161) | color: rgb(160, 140, 161) | |
| CMYK | cmyk(1%, 13%, 0%, 37%) | — | |
| HSV | hsv(297, 13%, 63%) | — | |
| HWB | hwb(297 55% 37%) | color: hwb(297 55% 37%) | |
| OKLCH | oklch(0.6648 0.0383 324.53) | color: oklch(0.6648 0.0383 324.53) | |
| Lab | lab(60.61 11.39 -8.33) | color: lab(60.61 11.39 -8.33) | |
| LCH | lch(60.61 14.11 323.82) | color: lch(60.61 14.11 323.82) |
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)
#97979C — rgb(151, 151, 156)
Deuteranopia (Green-blind)
#999A9B — rgb(153, 154, 155)
Tritanopia (Blue-blind)
#9F9897 — rgb(159, 152, 151)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(297, 10%, 59%);
text
color: hsl(297, 10%, 59%);
border
border: 2px solid hsl(297, 10%, 59%);
gradient light
background: linear-gradient(to right, hsl(297, 10%, 79%), hsl(297, 10%, 59%));
gradient dark
background: linear-gradient(to right, hsl(297, 10%, 59%), hsl(297, 10%, 39%))
hex
background-color: #A08CA1;
tailwind
bg-[hsl(297,10%,59%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(297, 10%, 59%, 0.4);
css variable
--color-primary: hsl(297, 10%, 59%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(297, 10%, 59%)?
HEX: #A08CA1 | RGB: rgb(160, 140, 161) | CMYK: 1%, 13%, 0%, 37% | HSV: 297°, 13%, 63%. Copy any format from the conversion table above.
What colors go well with #A08CA1?
The complementary color is HSL(117, 10%, 59%). 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%, 59%) in CSS?
As HSL: color: hsl(297, 10%, 59%); — As HEX: color: #A08CA1; — As RGB: color: rgb(160, 140, 161); — Tailwind CSS: bg-[hsl(297,10%,59%)] — CSS variable: --color-primary: hsl(297, 10%, 59%);