HSL(307, 22%, 63%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,22%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 22%, 63%) | color: hsl(307, 22%, 63%) | |
| HEX | #B58CB1 | color: #B58CB1 | |
| RGB | rgb(181, 140, 177) | color: rgb(181, 140, 177) | |
| CMYK | cmyk(0%, 23%, 2%, 29%) | — | |
| HSV | hsv(306, 23%, 71%) | — | |
| HWB | hwb(306 55% 29%) | color: hwb(306 55% 29%) | |
| OKLCH | oklch(0.6907 0.0709 329.58) | color: oklch(0.6907 0.0709 329.58) | |
| Lab | lab(63.14 21.87 -13.4) | color: lab(63.14 21.87 -13.4) | |
| LCH | lch(63.14 25.65 328.5) | color: lch(63.14 25.65 328.5) |
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)
#A3A3A8 — rgb(163, 163, 168)
Deuteranopia (Green-blind)
#A6A9A6 — rgb(166, 169, 166)
Tritanopia (Blue-blind)
#B3A19F — rgb(179, 161, 159)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 22%, 63%);
text
color: hsl(307, 22%, 63%);
border
border: 2px solid hsl(307, 22%, 63%);
gradient light
background: linear-gradient(to right, hsl(307, 22%, 83%), hsl(307, 22%, 63%));
gradient dark
background: linear-gradient(to right, hsl(307, 22%, 63%), hsl(307, 22%, 43%))
hex
background-color: #B58CB1;
tailwind
bg-[hsl(307,22%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 22%, 63%, 0.4);
css variable
--color-primary: hsl(307, 22%, 63%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 22%, 63%)?
HEX: #B58CB1 | RGB: rgb(181, 140, 177) | CMYK: 0%, 23%, 2%, 29% | HSV: 306°, 23%, 71%. Copy any format from the conversion table above.
What colors go well with #B58CB1?
The complementary color is HSL(127, 22%, 63%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(307, 22%, 63%) in CSS?
As HSL: color: hsl(307, 22%, 63%); — As HEX: color: #B58CB1; — As RGB: color: rgb(181, 140, 177); — Tailwind CSS: bg-[hsl(307,22%,63%)] — CSS variable: --color-primary: hsl(307, 22%, 63%);