HSL(302, 21%, 44%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(302,21%,44%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 21%, 44%) | color: hsl(302, 21%, 44%) | |
| HEX | #885986 | color: #885986 | |
| RGB | rgb(136, 89, 134) | color: rgb(136, 89, 134) | |
| CMYK | cmyk(0%, 35%, 1%, 47%) | — | |
| HSV | hsv(303, 35%, 53%) | — | |
| HWB | hwb(303 34% 47%) | color: hwb(303 34% 47%) | |
| OKLCH | oklch(0.5313 0.0887 328.2) | color: oklch(0.5313 0.0887 328.2) | |
| Lab | lab(44.38 27.04 -17.25) | color: lab(44.38 27.04 -17.25) | |
| LCH | lch(44.38 32.07 327.46) | color: lch(44.38 32.07 327.46) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#74737B — rgb(116, 115, 123)
Deuteranopia (Green-blind)
#767A79 — rgb(118, 122, 121)
Tritanopia (Blue-blind)
#867371 — rgb(134, 115, 113)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 21%, 44%);
text
color: hsl(302, 21%, 44%);
border
border: 2px solid hsl(302, 21%, 44%);
gradient light
background: linear-gradient(to right, hsl(302, 21%, 64%), hsl(302, 21%, 44%));
gradient dark
background: linear-gradient(to right, hsl(302, 21%, 44%), hsl(302, 21%, 24%))
hex
background-color: #885986;
tailwind
bg-[hsl(302,21%,44%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 21%, 44%, 0.4);
css variable
--color-primary: hsl(302, 21%, 44%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 21%, 44%)?
HEX: #885986 | RGB: rgb(136, 89, 134) | CMYK: 0%, 35%, 1%, 47% | HSV: 303°, 35%, 53%. Copy any format from the conversion table above.
What colors go well with #885986?
The complementary color is HSL(122, 21%, 44%). 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, 21%, 44%) in CSS?
As HSL: color: hsl(302, 21%, 44%); — As HEX: color: #885986; — As RGB: color: rgb(136, 89, 134); — Tailwind CSS: bg-[hsl(302,21%,44%)] — CSS variable: --color-primary: hsl(302, 21%, 44%);