HSL(285, 80%, 44%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(285,80%,44%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(285, 80%, 44%) | color: hsl(285, 80%, 44%) | |
| HEX | #9D16CA | color: #9D16CA | |
| RGB | rgb(157, 22, 202) | color: rgb(157, 22, 202) | |
| CMYK | cmyk(22%, 89%, 0%, 21%) | — | |
| HSV | hsv(285, 89%, 79%) | — | |
| HWB | hwb(285 9% 21%) | color: hwb(285 9% 21%) | |
| OKLCH | oklch(0.5268 0.2484 314.68) | color: oklch(0.5268 0.2484 314.68) | |
| Lab | lab(41.23 73.05 -62.4) | color: lab(41.23 73.05 -62.4) | |
| LCH | lch(41.23 96.07 319.5) | color: lch(41.23 96.07 319.5) |
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)
#63619E — rgb(99, 97, 158)
Deuteranopia (Green-blind)
#6A7594 — rgb(106, 117, 148)
Tritanopia (Blue-blind)
#967C75 — rgb(150, 124, 117)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(285, 80%, 44%);
text
color: hsl(285, 80%, 44%);
border
border: 2px solid hsl(285, 80%, 44%);
gradient light
background: linear-gradient(to right, hsl(285, 80%, 64%), hsl(285, 80%, 44%));
gradient dark
background: linear-gradient(to right, hsl(285, 80%, 44%), hsl(285, 80%, 24%))
hex
background-color: #9D16CA;
tailwind
bg-[hsl(285,80%,44%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(285, 80%, 44%, 0.4);
css variable
--color-primary: hsl(285, 80%, 44%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(285, 80%, 44%)?
HEX: #9D16CA | RGB: rgb(157, 22, 202) | CMYK: 22%, 89%, 0%, 21% | HSV: 285°, 89%, 79%. Copy any format from the conversion table above.
What colors go well with #9D16CA?
The complementary color is HSL(105, 80%, 44%). For a triadic harmony, use hues 285°, 45°, and 165°. For analogous combinations, try hues 255° and 315°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(285, 80%, 44%) in CSS?
As HSL: color: hsl(285, 80%, 44%); — As HEX: color: #9D16CA; — As RGB: color: rgb(157, 22, 202); — Tailwind CSS: bg-[hsl(285,80%,44%)] — CSS variable: --color-primary: hsl(285, 80%, 44%);