HSL(290, 25%, 64%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(290,25%,64%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(290, 25%, 64%) | color: hsl(290, 25%, 64%) | |
| HEX | #B38CBA | color: #B38CBA | |
| RGB | rgb(179, 140, 186) | color: rgb(179, 140, 186) | |
| CMYK | cmyk(4%, 25%, 0%, 27%) | — | |
| HSV | hsv(291, 25%, 73%) | — | |
| HWB | hwb(291 55% 27%) | color: hwb(291 55% 27%) | |
| OKLCH | oklch(0.6921 0.0792 321.22) | color: oklch(0.6921 0.0792 321.22) | |
| Lab | lab(63.25 22.94 -18.34) | color: lab(63.25 22.94 -18.34) | |
| LCH | lch(63.25 29.37 321.36) | color: lch(63.25 29.37 321.36) |
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)
#A2A2AF — rgb(162, 162, 175)
Deuteranopia (Green-blind)
#A4A7AC — rgb(164, 167, 172)
Tritanopia (Blue-blind)
#B1A6A4 — rgb(177, 166, 164)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(290, 25%, 64%);
text
color: hsl(290, 25%, 64%);
border
border: 2px solid hsl(290, 25%, 64%);
gradient light
background: linear-gradient(to right, hsl(290, 25%, 84%), hsl(290, 25%, 64%));
gradient dark
background: linear-gradient(to right, hsl(290, 25%, 64%), hsl(290, 25%, 44%))
hex
background-color: #B38CBA;
tailwind
bg-[hsl(290,25%,64%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(290, 25%, 64%, 0.4);
css variable
--color-primary: hsl(290, 25%, 64%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(290, 25%, 64%)?
HEX: #B38CBA | RGB: rgb(179, 140, 186) | CMYK: 4%, 25%, 0%, 27% | HSV: 291°, 25%, 73%. Copy any format from the conversion table above.
What colors go well with #B38CBA?
The complementary color is HSL(110, 25%, 64%). For a triadic harmony, use hues 290°, 50°, and 170°. For analogous combinations, try hues 260° and 320°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(290, 25%, 64%) in CSS?
As HSL: color: hsl(290, 25%, 64%); — As HEX: color: #B38CBA; — As RGB: color: rgb(179, 140, 186); — Tailwind CSS: bg-[hsl(290,25%,64%)] — CSS variable: --color-primary: hsl(290, 25%, 64%);