HSL(295, 52%, 39%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(295,52%,39%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(295, 52%, 39%) | color: hsl(295, 52%, 39%) | |
| HEX | #8F3097 | color: #8F3097 | |
| RGB | rgb(143, 48, 151) | color: rgb(143, 48, 151) | |
| CMYK | cmyk(5%, 68%, 0%, 41%) | — | |
| HSV | hsv(295, 68%, 59%) | — | |
| HWB | hwb(295 19% 41%) | color: hwb(295 19% 41%) | |
| OKLCH | oklch(0.4901 0.1781 324.57) | color: oklch(0.4901 0.1781 324.57) | |
| Lab | lab(38.18 53.44 -37.15) | color: lab(38.18 53.44 -37.15) | |
| LCH | lch(38.18 65.08 325.19) | color: lch(38.18 65.08 325.19) |
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)
#66657E — rgb(102, 101, 126)
Deuteranopia (Green-blind)
#6B7378 — rgb(107, 115, 120)
Tritanopia (Blue-blind)
#8A6A66 — rgb(138, 106, 102)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(295, 52%, 39%);
text
color: hsl(295, 52%, 39%);
border
border: 2px solid hsl(295, 52%, 39%);
gradient light
background: linear-gradient(to right, hsl(295, 52%, 59%), hsl(295, 52%, 39%));
gradient dark
background: linear-gradient(to right, hsl(295, 52%, 39%), hsl(295, 52%, 19%))
hex
background-color: #8F3097;
tailwind
bg-[hsl(295,52%,39%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(295, 52%, 39%, 0.4);
css variable
--color-primary: hsl(295, 52%, 39%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(295, 52%, 39%)?
HEX: #8F3097 | RGB: rgb(143, 48, 151) | CMYK: 5%, 68%, 0%, 41% | HSV: 295°, 68%, 59%. Copy any format from the conversion table above.
What colors go well with #8F3097?
The complementary color is HSL(115, 52%, 39%). For a triadic harmony, use hues 295°, 55°, and 175°. For analogous combinations, try hues 265° and 325°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(295, 52%, 39%) in CSS?
As HSL: color: hsl(295, 52%, 39%); — As HEX: color: #8F3097; — As RGB: color: rgb(143, 48, 151); — Tailwind CSS: bg-[hsl(295,52%,39%)] — CSS variable: --color-primary: hsl(295, 52%, 39%);