HSL(304, 32%, 57%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(304,32%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(304, 32%, 57%) | color: hsl(304, 32%, 57%) | |
| HEX | #B46EB0 | color: #B46EB0 | |
| RGB | rgb(180, 110, 176) | color: rgb(180, 110, 176) | |
| CMYK | cmyk(0%, 39%, 2%, 29%) | — | |
| HSV | hsv(303, 39%, 71%) | — | |
| HWB | hwb(303 43% 29%) | color: hwb(303 43% 29%) | |
| OKLCH | oklch(0.6367 0.1242 328.95) | color: oklch(0.6367 0.1242 328.95) | |
| Lab | lab(56.08 38 -23.59) | color: lab(56.08 38 -23.59) | |
| LCH | lch(56.08 44.73 328.17) | color: lch(56.08 44.73 328.17) |
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)
#9695A0 — rgb(150, 149, 160)
Deuteranopia (Green-blind)
#9A9F9C — rgb(154, 159, 156)
Tritanopia (Blue-blind)
#B19391 — rgb(177, 147, 145)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(304, 32%, 57%);
text
color: hsl(304, 32%, 57%);
border
border: 2px solid hsl(304, 32%, 57%);
gradient light
background: linear-gradient(to right, hsl(304, 32%, 77%), hsl(304, 32%, 57%));
gradient dark
background: linear-gradient(to right, hsl(304, 32%, 57%), hsl(304, 32%, 37%))
hex
background-color: #B46EB0;
tailwind
bg-[hsl(304,32%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(304, 32%, 57%, 0.4);
css variable
--color-primary: hsl(304, 32%, 57%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(304, 32%, 57%)?
HEX: #B46EB0 | RGB: rgb(180, 110, 176) | CMYK: 0%, 39%, 2%, 29% | HSV: 303°, 39%, 71%. Copy any format from the conversion table above.
What colors go well with #B46EB0?
The complementary color is HSL(124, 32%, 57%). For a triadic harmony, use hues 304°, 64°, and 184°. For analogous combinations, try hues 274° and 334°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(304, 32%, 57%) in CSS?
As HSL: color: hsl(304, 32%, 57%); — As HEX: color: #B46EB0; — As RGB: color: rgb(180, 110, 176); — Tailwind CSS: bg-[hsl(304,32%,57%)] — CSS variable: --color-primary: hsl(304, 32%, 57%);