HSL(305, 26%, 60%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(305,26%,60%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(305, 26%, 60%) | color: hsl(305, 26%, 60%) | |
| HEX | #B47EAF | color: #B47EAF | |
| RGB | rgb(180, 126, 175) | color: rgb(180, 126, 175) | |
| CMYK | cmyk(0%, 30%, 3%, 29%) | — | |
| HSV | hsv(306, 30%, 71%) | — | |
| HWB | hwb(306 50% 29%) | color: hwb(306 50% 29%) | |
| OKLCH | oklch(0.6635 0.0941 329.79) | color: oklch(0.6635 0.0941 329.79) | |
| Lab | lab(59.64 28.99 -17.58) | color: lab(59.64 28.99 -17.58) | |
| LCH | lch(59.64 33.9 328.77) | color: lch(59.64 33.9 328.77) |
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)
#9D9CA3 — rgb(157, 156, 163)
Deuteranopia (Green-blind)
#A0A4A0 — rgb(160, 164, 160)
Tritanopia (Blue-blind)
#B19A98 — rgb(177, 154, 152)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(305, 26%, 60%);
text
color: hsl(305, 26%, 60%);
border
border: 2px solid hsl(305, 26%, 60%);
gradient light
background: linear-gradient(to right, hsl(305, 26%, 80%), hsl(305, 26%, 60%));
gradient dark
background: linear-gradient(to right, hsl(305, 26%, 60%), hsl(305, 26%, 40%))
hex
background-color: #B47EAF;
tailwind
bg-[hsl(305,26%,60%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(305, 26%, 60%, 0.4);
css variable
--color-primary: hsl(305, 26%, 60%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(305, 26%, 60%)?
HEX: #B47EAF | RGB: rgb(180, 126, 175) | CMYK: 0%, 30%, 3%, 29% | HSV: 306°, 30%, 71%. Copy any format from the conversion table above.
What colors go well with #B47EAF?
The complementary color is HSL(125, 26%, 60%). For a triadic harmony, use hues 305°, 65°, and 185°. For analogous combinations, try hues 275° and 335°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(305, 26%, 60%) in CSS?
As HSL: color: hsl(305, 26%, 60%); — As HEX: color: #B47EAF; — As RGB: color: rgb(180, 126, 175); — Tailwind CSS: bg-[hsl(305,26%,60%)] — CSS variable: --color-primary: hsl(305, 26%, 60%);