HSL(306, 10%, 56%)
Grayish Purple — Purple color
Adjust Color
Color Information
Color Name
Grayish Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(306,10%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(306, 10%, 56%) | color: hsl(306, 10%, 56%) | |
| HEX | #9A8498 | color: #9A8498 | |
| RGB | rgb(154, 132, 152) | color: rgb(154, 132, 152) | |
| CMYK | cmyk(0%, 14%, 1%, 40%) | — | |
| HSV | hsv(305, 14%, 60%) | — | |
| HWB | hwb(305 52% 40%) | color: hwb(305 52% 40%) | |
| OKLCH | oklch(0.6399 0.0391 328.94) | color: oklch(0.6399 0.0391 328.94) | |
| Lab | lab(57.69 12.03 -7.57) | color: lab(57.69 12.03 -7.57) | |
| LCH | lch(57.69 14.21 327.82) | color: lch(57.69 14.21 327.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)
#909093 — rgb(144, 144, 147)
Deuteranopia (Green-blind)
#929392 — rgb(146, 147, 146)
Tritanopia (Blue-blind)
#998F8F — rgb(153, 143, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(306, 10%, 56%);
text
color: hsl(306, 10%, 56%);
border
border: 2px solid hsl(306, 10%, 56%);
gradient light
background: linear-gradient(to right, hsl(306, 10%, 76%), hsl(306, 10%, 56%));
gradient dark
background: linear-gradient(to right, hsl(306, 10%, 56%), hsl(306, 10%, 36%))
hex
background-color: #9A8498;
tailwind
bg-[hsl(306,10%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(306, 10%, 56%, 0.4);
css variable
--color-primary: hsl(306, 10%, 56%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(306, 10%, 56%)?
HEX: #9A8498 | RGB: rgb(154, 132, 152) | CMYK: 0%, 14%, 1%, 40% | HSV: 305°, 14%, 60%. Copy any format from the conversion table above.
What colors go well with #9A8498?
The complementary color is HSL(126, 10%, 56%). For a triadic harmony, use hues 306°, 66°, and 186°. For analogous combinations, try hues 276° and 336°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(306, 10%, 56%) in CSS?
As HSL: color: hsl(306, 10%, 56%); — As HEX: color: #9A8498; — As RGB: color: rgb(154, 132, 152); — Tailwind CSS: bg-[hsl(306,10%,56%)] — CSS variable: --color-primary: hsl(306, 10%, 56%);