HSL(288, 30%, 52%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,30%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 30%, 52%) | color: hsl(288, 30%, 52%) | |
| HEX | #9B60A9 | color: #9B60A9 | |
| RGB | rgb(155, 96, 169) | color: rgb(155, 96, 169) | |
| CMYK | cmyk(8%, 43%, 0%, 34%) | — | |
| HSV | hsv(288, 43%, 66%) | — | |
| HWB | hwb(288 38% 34%) | color: hwb(288 38% 34%) | |
| OKLCH | oklch(0.5815 0.126 319.74) | color: oklch(0.5815 0.126 319.74) | |
| Lab | lab(49.74 36.41 -29.58) | color: lab(49.74 36.41 -29.58) | |
| LCH | lch(49.74 46.91 320.91) | color: lch(49.74 46.91 320.91) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#818197 — rgb(129, 129, 151)
Deuteranopia (Green-blind)
#858993 — rgb(133, 137, 147)
Tritanopia (Blue-blind)
#988986 — rgb(152, 137, 134)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 30%, 52%);
text
color: hsl(288, 30%, 52%);
border
border: 2px solid hsl(288, 30%, 52%);
gradient light
background: linear-gradient(to right, hsl(288, 30%, 72%), hsl(288, 30%, 52%));
gradient dark
background: linear-gradient(to right, hsl(288, 30%, 52%), hsl(288, 30%, 32%))
hex
background-color: #9B60A9;
tailwind
bg-[hsl(288,30%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 30%, 52%, 0.4);
css variable
--color-primary: hsl(288, 30%, 52%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 30%, 52%)?
HEX: #9B60A9 | RGB: rgb(155, 96, 169) | CMYK: 8%, 43%, 0%, 34% | HSV: 288°, 43%, 66%. Copy any format from the conversion table above.
What colors go well with #9B60A9?
The complementary color is HSL(108, 30%, 52%). For a triadic harmony, use hues 288°, 48°, and 168°. For analogous combinations, try hues 258° and 318°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(288, 30%, 52%) in CSS?
As HSL: color: hsl(288, 30%, 52%); — As HEX: color: #9B60A9; — As RGB: color: rgb(155, 96, 169); — Tailwind CSS: bg-[hsl(288,30%,52%)] — CSS variable: --color-primary: hsl(288, 30%, 52%);