HSL(301, 10%, 50%)
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(301,10%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(301, 10%, 50%) | color: hsl(301, 10%, 50%) | |
| HEX | #8C738C | color: #8C738C | |
| RGB | rgb(140, 115, 140) | color: rgb(140, 115, 140) | |
| CMYK | cmyk(0%, 18%, 0%, 45%) | — | |
| HSV | hsv(300, 18%, 55%) | — | |
| HWB | hwb(300 45% 45%) | color: hwb(300 45% 45%) | |
| OKLCH | oklch(0.5877 0.0478 326.17) | color: oklch(0.5877 0.0478 326.17) | |
| Lab | lab(51.53 14.41 -9.95) | color: lab(51.53 14.41 -9.95) | |
| LCH | lch(51.53 17.51 325.38) | color: lch(51.53 17.51 325.38) |
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)
#818186 — rgb(129, 129, 134)
Deuteranopia (Green-blind)
#838585 — rgb(131, 133, 133)
Tritanopia (Blue-blind)
#8B8180 — rgb(139, 129, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(301, 10%, 50%);
text
color: hsl(301, 10%, 50%);
border
border: 2px solid hsl(301, 10%, 50%);
gradient light
background: linear-gradient(to right, hsl(301, 10%, 70%), hsl(301, 10%, 50%));
gradient dark
background: linear-gradient(to right, hsl(301, 10%, 50%), hsl(301, 10%, 30%))
hex
background-color: #8C738C;
tailwind
bg-[hsl(301,10%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(301, 10%, 50%, 0.4);
css variable
--color-primary: hsl(301, 10%, 50%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(301, 10%, 50%)?
HEX: #8C738C | RGB: rgb(140, 115, 140) | CMYK: 0%, 18%, 0%, 45% | HSV: 300°, 18%, 55%. Copy any format from the conversion table above.
What colors go well with #8C738C?
The complementary color is HSL(121, 10%, 50%). For a triadic harmony, use hues 301°, 61°, and 181°. For analogous combinations, try hues 271° and 331°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(301, 10%, 50%) in CSS?
As HSL: color: hsl(301, 10%, 50%); — As HEX: color: #8C738C; — As RGB: color: rgb(140, 115, 140); — Tailwind CSS: bg-[hsl(301,10%,50%)] — CSS variable: --color-primary: hsl(301, 10%, 50%);