HSL(295, 85%, 35%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(295,85%,35%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(295, 85%, 35%) | color: hsl(295, 85%, 35%) | |
| HEX | #980DA5 | color: #980DA5 | |
| RGB | rgb(152, 13, 165) | color: rgb(152, 13, 165) | |
| CMYK | cmyk(8%, 92%, 0%, 35%) | — | |
| HSV | hsv(295, 92%, 65%) | — | |
| HWB | hwb(295 5% 35%) | color: hwb(295 5% 35%) | |
| OKLCH | oklch(0.4893 0.2233 323.91) | color: oklch(0.4893 0.2233 323.91) | |
| Lab | lab(37.26 67.23 -46.99) | color: lab(37.26 67.23 -46.99) | |
| LCH | lch(37.26 82.02 325.05) | color: lch(37.26 82.02 325.05) |
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)
#5C5B80 — rgb(92, 91, 128)
Deuteranopia (Green-blind)
#646E77 — rgb(100, 110, 119)
Tritanopia (Blue-blind)
#91635D — rgb(145, 99, 93)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(295, 85%, 35%);
text
color: hsl(295, 85%, 35%);
border
border: 2px solid hsl(295, 85%, 35%);
gradient light
background: linear-gradient(to right, hsl(295, 85%, 55%), hsl(295, 85%, 35%));
gradient dark
background: linear-gradient(to right, hsl(295, 85%, 35%), hsl(295, 85%, 15%))
hex
background-color: #980DA5;
tailwind
bg-[hsl(295,85%,35%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(295, 85%, 35%, 0.4);
css variable
--color-primary: hsl(295, 85%, 35%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(295, 85%, 35%)?
HEX: #980DA5 | RGB: rgb(152, 13, 165) | CMYK: 8%, 92%, 0%, 35% | HSV: 295°, 92%, 65%. Copy any format from the conversion table above.
What colors go well with #980DA5?
The complementary color is HSL(115, 85%, 35%). 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, 85%, 35%) in CSS?
As HSL: color: hsl(295, 85%, 35%); — As HEX: color: #980DA5; — As RGB: color: rgb(152, 13, 165); — Tailwind CSS: bg-[hsl(295,85%,35%)] — CSS variable: --color-primary: hsl(295, 85%, 35%);