HSL(290, 20%, 48%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(290,20%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(290, 20%, 48%) | color: hsl(290, 20%, 48%) | |
| HEX | #8B6293 | color: #8B6293 | |
| RGB | rgb(139, 98, 147) | color: rgb(139, 98, 147) | |
| CMYK | cmyk(5%, 33%, 0%, 42%) | — | |
| HSV | hsv(290, 33%, 58%) | — | |
| HWB | hwb(290 39% 42%) | color: hwb(290 39% 42%) | |
| OKLCH | oklch(0.5567 0.0879 320.86) | color: oklch(0.5567 0.0879 320.86) | |
| Lab | lab(47.41 25.48 -20.36) | color: lab(47.41 25.48 -20.36) | |
| LCH | lch(47.41 32.62 321.37) | color: lch(47.41 32.62 321.37) |
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: white
Color Blindness Simulation
Protanopia (Red-blind)
#797987 — rgb(121, 121, 135)
Deuteranopia (Green-blind)
#7C7F84 — rgb(124, 127, 132)
Tritanopia (Blue-blind)
#897E7C — rgb(137, 126, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(290, 20%, 48%);
text
color: hsl(290, 20%, 48%);
border
border: 2px solid hsl(290, 20%, 48%);
gradient light
background: linear-gradient(to right, hsl(290, 20%, 68%), hsl(290, 20%, 48%));
gradient dark
background: linear-gradient(to right, hsl(290, 20%, 48%), hsl(290, 20%, 28%))
hex
background-color: #8B6293;
tailwind
bg-[hsl(290,20%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(290, 20%, 48%, 0.4);
css variable
--color-primary: hsl(290, 20%, 48%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(290, 20%, 48%)?
HEX: #8B6293 | RGB: rgb(139, 98, 147) | CMYK: 5%, 33%, 0%, 42% | HSV: 290°, 33%, 58%. Copy any format from the conversion table above.
What colors go well with #8B6293?
The complementary color is HSL(110, 20%, 48%). 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, 20%, 48%) in CSS?
As HSL: color: hsl(290, 20%, 48%); — As HEX: color: #8B6293; — As RGB: color: rgb(139, 98, 147); — Tailwind CSS: bg-[hsl(290,20%,48%)] — CSS variable: --color-primary: hsl(290, 20%, 48%);