HSL(302, 12%, 67%)
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(302,12%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 12%, 67%) | color: hsl(302, 12%, 67%) | |
| HEX | #B5A1B4 | color: #B5A1B4 | |
| RGB | rgb(181, 161, 180) | color: rgb(181, 161, 180) | |
| CMYK | cmyk(0%, 11%, 1%, 29%) | — | |
| HSV | hsv(303, 11%, 71%) | — | |
| HWB | hwb(303 63% 29%) | color: hwb(303 63% 29%) | |
| OKLCH | oklch(0.7322 0.0352 327.47) | color: oklch(0.7322 0.0352 327.47) | |
| Lab | lab(68.47 10.73 -7.12) | color: lab(68.47 10.73 -7.12) | |
| LCH | lch(68.47 12.88 326.43) | color: lch(68.47 12.88 326.43) |
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)
#ACACAF — rgb(172, 172, 175)
Deuteranopia (Green-blind)
#AEAFAE — rgb(174, 175, 174)
Tritanopia (Blue-blind)
#B4ACAB — rgb(180, 172, 171)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 12%, 67%);
text
color: hsl(302, 12%, 67%);
border
border: 2px solid hsl(302, 12%, 67%);
gradient light
background: linear-gradient(to right, hsl(302, 12%, 87%), hsl(302, 12%, 67%));
gradient dark
background: linear-gradient(to right, hsl(302, 12%, 67%), hsl(302, 12%, 47%))
hex
background-color: #B5A1B4;
tailwind
bg-[hsl(302,12%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 12%, 67%, 0.4);
css variable
--color-primary: hsl(302, 12%, 67%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 12%, 67%)?
HEX: #B5A1B4 | RGB: rgb(181, 161, 180) | CMYK: 0%, 11%, 1%, 29% | HSV: 303°, 11%, 71%. Copy any format from the conversion table above.
What colors go well with #B5A1B4?
The complementary color is HSL(122, 12%, 67%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 12%, 67%) in CSS?
As HSL: color: hsl(302, 12%, 67%); — As HEX: color: #B5A1B4; — As RGB: color: rgb(181, 161, 180); — Tailwind CSS: bg-[hsl(302,12%,67%)] — CSS variable: --color-primary: hsl(302, 12%, 67%);