HSL(289, 40%, 63%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(289,40%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(289, 40%, 63%) | color: hsl(289, 40%, 63%) | |
| HEX | #B97BC6 | color: #B97BC6 | |
| RGB | rgb(185, 123, 198) | color: rgb(185, 123, 198) | |
| CMYK | cmyk(7%, 38%, 0%, 22%) | — | |
| HSV | hsv(290, 38%, 78%) | — | |
| HWB | hwb(290 48% 22%) | color: hwb(290 48% 22%) | |
| OKLCH | oklch(0.6733 0.1269 320.49) | color: oklch(0.6733 0.1269 320.49) | |
| Lab | lab(60.39 36.74 -29.45) | color: lab(60.39 36.74 -29.45) | |
| LCH | lch(60.39 47.09 321.29) | color: lch(60.39 47.09 321.29) |
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)
#9E9EB4 — rgb(158, 158, 180)
Deuteranopia (Green-blind)
#A2A6B0 — rgb(162, 166, 176)
Tritanopia (Blue-blind)
#B6A6A2 — rgb(182, 166, 162)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(289, 40%, 63%);
text
color: hsl(289, 40%, 63%);
border
border: 2px solid hsl(289, 40%, 63%);
gradient light
background: linear-gradient(to right, hsl(289, 40%, 83%), hsl(289, 40%, 63%));
gradient dark
background: linear-gradient(to right, hsl(289, 40%, 63%), hsl(289, 40%, 43%))
hex
background-color: #B97BC6;
tailwind
bg-[hsl(289,40%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(289, 40%, 63%, 0.4);
css variable
--color-primary: hsl(289, 40%, 63%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(289, 40%, 63%)?
HEX: #B97BC6 | RGB: rgb(185, 123, 198) | CMYK: 7%, 38%, 0%, 22% | HSV: 290°, 38%, 78%. Copy any format from the conversion table above.
What colors go well with #B97BC6?
The complementary color is HSL(109, 40%, 63%). For a triadic harmony, use hues 289°, 49°, and 169°. For analogous combinations, try hues 259° and 319°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(289, 40%, 63%) in CSS?
As HSL: color: hsl(289, 40%, 63%); — As HEX: color: #B97BC6; — As RGB: color: rgb(185, 123, 198); — Tailwind CSS: bg-[hsl(289,40%,63%)] — CSS variable: --color-primary: hsl(289, 40%, 63%);