HSL(292, 30%, 45%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(292,30%,45%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(292, 30%, 45%) | color: hsl(292, 30%, 45%) | |
| HEX | #8C5095 | color: #8C5095 | |
| RGB | rgb(140, 80, 149) | color: rgb(140, 80, 149) | |
| CMYK | cmyk(6%, 46%, 0%, 42%) | — | |
| HSV | hsv(292, 46%, 58%) | — | |
| HWB | hwb(292 31% 42%) | color: hwb(292 31% 42%) | |
| OKLCH | oklch(0.5278 0.1241 322.22) | color: oklch(0.5278 0.1241 322.22) | |
| Lab | lab(43.48 36.52 -27.62) | color: lab(43.48 36.52 -27.62) | |
| LCH | lch(43.48 45.79 322.9) | color: lch(43.48 45.79 322.9) |
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)
#727184 — rgb(114, 113, 132)
Deuteranopia (Green-blind)
#767A80 — rgb(118, 122, 128)
Tritanopia (Blue-blind)
#897774 — rgb(137, 119, 116)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(292, 30%, 45%);
text
color: hsl(292, 30%, 45%);
border
border: 2px solid hsl(292, 30%, 45%);
gradient light
background: linear-gradient(to right, hsl(292, 30%, 65%), hsl(292, 30%, 45%));
gradient dark
background: linear-gradient(to right, hsl(292, 30%, 45%), hsl(292, 30%, 25%))
hex
background-color: #8C5095;
tailwind
bg-[hsl(292,30%,45%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(292, 30%, 45%, 0.4);
css variable
--color-primary: hsl(292, 30%, 45%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(292, 30%, 45%)?
HEX: #8C5095 | RGB: rgb(140, 80, 149) | CMYK: 6%, 46%, 0%, 42% | HSV: 292°, 46%, 58%. Copy any format from the conversion table above.
What colors go well with #8C5095?
The complementary color is HSL(112, 30%, 45%). 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, 30%, 45%) in CSS?
As HSL: color: hsl(292, 30%, 45%); — As HEX: color: #8C5095; — As RGB: color: rgb(140, 80, 149); — Tailwind CSS: bg-[hsl(292,30%,45%)] — CSS variable: --color-primary: hsl(292, 30%, 45%);