HSL(293, 40%, 40%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(293,40%,40%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(293, 40%, 40%) | color: hsl(293, 40%, 40%) | |
| HEX | #853D8F | color: #853D8F | |
| RGB | rgb(133, 61, 143) | color: rgb(133, 61, 143) | |
| CMYK | cmyk(7%, 57%, 0%, 44%) | — | |
| HSV | hsv(293, 57%, 56%) | — | |
| HWB | hwb(293 24% 44%) | color: hwb(293 24% 44%) | |
| OKLCH | oklch(0.4871 0.1463 322.62) | color: oklch(0.4871 0.1463 322.62) | |
| Lab | lab(38.39 43.35 -32.05) | color: lab(38.39 43.35 -32.05) | |
| LCH | lch(38.39 53.91 323.52) | color: lch(38.39 53.91 323.52) |
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)
#66657B — rgb(102, 101, 123)
Deuteranopia (Green-blind)
#6A6F76 — rgb(106, 111, 118)
Tritanopia (Blue-blind)
#816B68 — rgb(129, 107, 104)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(293, 40%, 40%);
text
color: hsl(293, 40%, 40%);
border
border: 2px solid hsl(293, 40%, 40%);
gradient light
background: linear-gradient(to right, hsl(293, 40%, 60%), hsl(293, 40%, 40%));
gradient dark
background: linear-gradient(to right, hsl(293, 40%, 40%), hsl(293, 40%, 20%))
hex
background-color: #853D8F;
tailwind
bg-[hsl(293,40%,40%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(293, 40%, 40%, 0.4);
css variable
--color-primary: hsl(293, 40%, 40%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(293, 40%, 40%)?
HEX: #853D8F | RGB: rgb(133, 61, 143) | CMYK: 7%, 57%, 0%, 44% | HSV: 293°, 57%, 56%. Copy any format from the conversion table above.
What colors go well with #853D8F?
The complementary color is HSL(113, 40%, 40%). For a triadic harmony, use hues 293°, 53°, and 173°. For analogous combinations, try hues 263° and 323°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(293, 40%, 40%) in CSS?
As HSL: color: hsl(293, 40%, 40%); — As HEX: color: #853D8F; — As RGB: color: rgb(133, 61, 143); — Tailwind CSS: bg-[hsl(293,40%,40%)] — CSS variable: --color-primary: hsl(293, 40%, 40%);