HSL(294, 12%, 57%)
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(294,12%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(294, 12%, 57%) | color: hsl(294, 12%, 57%) | |
| HEX | #9C849F | color: #9C849F | |
| RGB | rgb(156, 132, 159) | color: rgb(156, 132, 159) | |
| CMYK | cmyk(2%, 17%, 0%, 38%) | — | |
| HSV | hsv(293, 17%, 62%) | — | |
| HWB | hwb(293 51% 38%) | color: hwb(293 51% 38%) | |
| OKLCH | oklch(0.6443 0.0483 322.55) | color: oklch(0.6443 0.0483 322.55) | |
| Lab | lab(58.11 14.13 -10.96) | color: lab(58.11 14.13 -10.96) | |
| LCH | lch(58.11 17.88 322.2) | color: lch(58.11 17.88 322.2) |
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)
#929198 — rgb(146, 145, 152)
Deuteranopia (Green-blind)
#939597 — rgb(147, 149, 151)
Tritanopia (Blue-blind)
#9B9392 — rgb(155, 147, 146)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(294, 12%, 57%);
text
color: hsl(294, 12%, 57%);
border
border: 2px solid hsl(294, 12%, 57%);
gradient light
background: linear-gradient(to right, hsl(294, 12%, 77%), hsl(294, 12%, 57%));
gradient dark
background: linear-gradient(to right, hsl(294, 12%, 57%), hsl(294, 12%, 37%))
hex
background-color: #9C849F;
tailwind
bg-[hsl(294,12%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(294, 12%, 57%, 0.4);
css variable
--color-primary: hsl(294, 12%, 57%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(294, 12%, 57%)?
HEX: #9C849F | RGB: rgb(156, 132, 159) | CMYK: 2%, 17%, 0%, 38% | HSV: 293°, 17%, 62%. Copy any format from the conversion table above.
What colors go well with #9C849F?
The complementary color is HSL(114, 12%, 57%). For a triadic harmony, use hues 294°, 54°, and 174°. For analogous combinations, try hues 264° and 324°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(294, 12%, 57%) in CSS?
As HSL: color: hsl(294, 12%, 57%); — As HEX: color: #9C849F; — As RGB: color: rgb(156, 132, 159); — Tailwind CSS: bg-[hsl(294,12%,57%)] — CSS variable: --color-primary: hsl(294, 12%, 57%);