HSL(312, 10%, 61%)
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(312,10%,61%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 10%, 61%) | color: hsl(312, 10%, 61%) | |
| HEX | #A592A2 | color: #A592A2 | |
| RGB | rgb(165, 146, 162) | color: rgb(165, 146, 162) | |
| CMYK | cmyk(0%, 12%, 2%, 35%) | — | |
| HSV | hsv(309, 12%, 65%) | — | |
| HWB | hwb(309 57% 35%) | color: hwb(309 57% 35%) | |
| OKLCH | oklch(0.6818 0.0319 331.12) | color: oklch(0.6818 0.0319 331.12) | |
| Lab | lab(62.65 9.98 -5.81) | color: lab(62.65 9.98 -5.81) | |
| LCH | lch(62.65 11.55 329.79) | color: lch(62.65 11.55 329.79) |
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)
#9D9D9E — rgb(157, 157, 158)
Deuteranopia (Green-blind)
#9E9F9D — rgb(158, 159, 157)
Tritanopia (Blue-blind)
#A49B9A — rgb(164, 155, 154)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 10%, 61%);
text
color: hsl(312, 10%, 61%);
border
border: 2px solid hsl(312, 10%, 61%);
gradient light
background: linear-gradient(to right, hsl(312, 10%, 81%), hsl(312, 10%, 61%));
gradient dark
background: linear-gradient(to right, hsl(312, 10%, 61%), hsl(312, 10%, 41%))
hex
background-color: #A592A2;
tailwind
bg-[hsl(312,10%,61%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 10%, 61%, 0.4);
css variable
--color-primary: hsl(312, 10%, 61%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 10%, 61%)?
HEX: #A592A2 | RGB: rgb(165, 146, 162) | CMYK: 0%, 12%, 2%, 35% | HSV: 309°, 12%, 65%. Copy any format from the conversion table above.
What colors go well with #A592A2?
The complementary color is HSL(132, 10%, 61%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 10%, 61%) in CSS?
As HSL: color: hsl(312, 10%, 61%); — As HEX: color: #A592A2; — As RGB: color: rgb(165, 146, 162); — Tailwind CSS: bg-[hsl(312,10%,61%)] — CSS variable: --color-primary: hsl(312, 10%, 61%);