HSL(293, 17%, 65%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(293,17%,65%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 17%, 65%) | color: hsl(293, 17%, 65%) | |
| HEX | #B197B5 | color: #B197B5 | |
| RGB | rgb(177, 151, 181) | color: rgb(177, 151, 181) | |
| CMYK | cmyk(2%, 17%, 0%, 29%) | — | |
| HSV | hsv(292, 17%, 71%) | — | |
| HWB | hwb(292 59% 29%) | color: hwb(292 59% 29%) | |
| OKLCH | oklch(0.7093 0.052 321.79) | color: oklch(0.7093 0.052 321.79) | |
| Lab | lab(65.61 15.09 -11.99) | color: lab(65.61 15.09 -11.99) | |
| LCH | lch(65.61 19.27 321.53) | color: lch(65.61 19.27 321.53) |
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)
#A6A6AE — rgb(166, 166, 174)
Deuteranopia (Green-blind)
#A7A9AC — rgb(167, 169, 172)
Tritanopia (Blue-blind)
#B0A8A7 — rgb(176, 168, 167)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 17%, 65%);
text
color: hsl(293, 17%, 65%);
border
border: 2px solid hsl(293, 17%, 65%);
gradient light
background: linear-gradient(to right, hsl(293, 17%, 85%), hsl(293, 17%, 65%));
gradient dark
background: linear-gradient(to right, hsl(293, 17%, 65%), hsl(293, 17%, 45%))
hex
background-color: #B197B5;
tailwind
bg-[hsl(293,17%,65%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 17%, 65%, 0.4);
css variable
--color-primary: hsl(293, 17%, 65%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 17%, 65%)?
HEX: #B197B5 | RGB: rgb(177, 151, 181) | CMYK: 2%, 17%, 0%, 29% | HSV: 292°, 17%, 71%. Copy any format from the conversion table above.
What colors go well with #B197B5?
The complementary color is HSL(113, 17%, 65%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(293, 17%, 65%) in CSS?
As HSL: color: hsl(293, 17%, 65%); — As HEX: color: #B197B5; — As RGB: color: rgb(177, 151, 181); — Tailwind CSS: bg-[hsl(293,17%,65%)] — CSS variable: --color-primary: hsl(293, 17%, 65%);