HSL(247, 9%, 56%)
Grayish Gray — Gray color
Adjust Color
Color Information
Color Name
Grayish Gray
Color Family
Gray
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(247,9%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(247, 9%, 56%) | color: hsl(247, 9%, 56%) | |
| HEX | #878599 | color: #878599 | |
| RGB | rgb(135, 133, 153) | color: rgb(135, 133, 153) | |
| CMYK | cmyk(12%, 13%, 0%, 40%) | — | |
| HSV | hsv(246, 13%, 60%) | — | |
| HWB | hwb(246 52% 40%) | color: hwb(246 52% 40%) | |
| OKLCH | oklch(0.6252 0.0299 290.1) | color: oklch(0.6252 0.0299 290.1) | |
| Lab | lab(56.31 4.9 -10.39) | color: lab(56.31 4.9 -10.39) | |
| LCH | lch(56.31 11.49 295.25) | color: lch(56.31 11.49 295.25) |
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)
#868694 — rgb(134, 134, 148)
Deuteranopia (Green-blind)
#868693 — rgb(134, 134, 147)
Tritanopia (Blue-blind)
#879090 — rgb(135, 144, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(247, 9%, 56%);
text
color: hsl(247, 9%, 56%);
border
border: 2px solid hsl(247, 9%, 56%);
gradient light
background: linear-gradient(to right, hsl(247, 9%, 76%), hsl(247, 9%, 56%));
gradient dark
background: linear-gradient(to right, hsl(247, 9%, 56%), hsl(247, 9%, 36%))
hex
background-color: #878599;
tailwind
bg-[hsl(247,9%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(247, 9%, 56%, 0.4);
css variable
--color-primary: hsl(247, 9%, 56%);
Related Colors
Use Cases for Grayish Gray
Frequently Asked Questions
What are all the color codes for HSL(247, 9%, 56%)?
HEX: #878599 | RGB: rgb(135, 133, 153) | CMYK: 12%, 13%, 0%, 40% | HSV: 246°, 13%, 60%. Copy any format from the conversion table above.
What colors go well with #878599?
The complementary color is HSL(67, 9%, 56%). For a triadic harmony, use hues 247°, 7°, and 127°. For analogous combinations, try hues 217° and 277°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(247, 9%, 56%) in CSS?
As HSL: color: hsl(247, 9%, 56%); — As HEX: color: #878599; — As RGB: color: rgb(135, 133, 153); — Tailwind CSS: bg-[hsl(247,9%,56%)] — CSS variable: --color-primary: hsl(247, 9%, 56%);