HSL(292, 20%, 48%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,20%,48%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 20%, 48%) | color: hsl(292, 20%, 48%) | |
| HEX | #8C6293 | color: #8C6293 | |
| RGB | rgb(140, 98, 147) | color: rgb(140, 98, 147) | |
| CMYK | cmyk(5%, 33%, 0%, 42%) | — | |
| HSV | hsv(291, 33%, 58%) | — | |
| HWB | hwb(291 39% 42%) | color: hwb(291 39% 42%) | |
| OKLCH | oklch(0.5578 0.0886 321.63) | color: oklch(0.5578 0.0886 321.63) | |
| Lab | lab(47.52 25.82 -20.18) | color: lab(47.52 25.82 -20.18) | |
| LCH | lch(47.52 32.77 321.99) | color: lch(47.52 32.77 321.99) |
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)
#7A7987 — rgb(122, 121, 135)
Deuteranopia (Green-blind)
#7C7F84 — rgb(124, 127, 132)
Tritanopia (Blue-blind)
#8A7E7C — rgb(138, 126, 124)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 20%, 48%);
text
color: hsl(292, 20%, 48%);
border
border: 2px solid hsl(292, 20%, 48%);
gradient light
background: linear-gradient(to right, hsl(292, 20%, 68%), hsl(292, 20%, 48%));
gradient dark
background: linear-gradient(to right, hsl(292, 20%, 48%), hsl(292, 20%, 28%))
hex
background-color: #8C6293;
tailwind
bg-[hsl(292,20%,48%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 20%, 48%, 0.4);
css variable
--color-primary: hsl(292, 20%, 48%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 20%, 48%)?
HEX: #8C6293 | RGB: rgb(140, 98, 147) | CMYK: 5%, 33%, 0%, 42% | HSV: 291°, 33%, 58%. Copy any format from the conversion table above.
What colors go well with #8C6293?
The complementary color is HSL(112, 20%, 48%). For a triadic harmony, use hues 292°, 52°, and 172°. For analogous combinations, try hues 262° and 322°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(292, 20%, 48%) in CSS?
As HSL: color: hsl(292, 20%, 48%); — As HEX: color: #8C6293; — As RGB: color: rgb(140, 98, 147); — Tailwind CSS: bg-[hsl(292,20%,48%)] — CSS variable: --color-primary: hsl(292, 20%, 48%);