HSL(288, 30%, 50%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,30%,50%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 30%, 50%) | color: hsl(288, 30%, 50%) | |
| HEX | #9659A6 | color: #9659A6 | |
| RGB | rgb(150, 89, 166) | color: rgb(150, 89, 166) | |
| CMYK | cmyk(10%, 46%, 0%, 35%) | — | |
| HSV | hsv(288, 46%, 65%) | — | |
| HWB | hwb(288 35% 35%) | color: hwb(288 35% 35%) | |
| OKLCH | oklch(0.5628 0.1324 319.05) | color: oklch(0.5628 0.1324 319.05) | |
| Lab | lab(47.47 38.13 -31.4) | color: lab(47.47 38.13 -31.4) | |
| LCH | lch(47.47 49.39 320.53) | color: lch(47.47 49.39 320.53) |
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)
#7C7B93 — rgb(124, 123, 147)
Deuteranopia (Green-blind)
#7F848F — rgb(127, 132, 143)
Tritanopia (Blue-blind)
#938581 — rgb(147, 133, 129)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 30%, 50%);
text
color: hsl(288, 30%, 50%);
border
border: 2px solid hsl(288, 30%, 50%);
gradient light
background: linear-gradient(to right, hsl(288, 30%, 70%), hsl(288, 30%, 50%));
gradient dark
background: linear-gradient(to right, hsl(288, 30%, 50%), hsl(288, 30%, 30%))
hex
background-color: #9659A6;
tailwind
bg-[hsl(288,30%,50%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 30%, 50%, 0.4);
css variable
--color-primary: hsl(288, 30%, 50%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 30%, 50%)?
HEX: #9659A6 | RGB: rgb(150, 89, 166) | CMYK: 10%, 46%, 0%, 35% | HSV: 288°, 46%, 65%. Copy any format from the conversion table above.
What colors go well with #9659A6?
The complementary color is HSL(108, 30%, 50%). 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%, 50%) in CSS?
As HSL: color: hsl(288, 30%, 50%); — As HEX: color: #9659A6; — As RGB: color: rgb(150, 89, 166); — Tailwind CSS: bg-[hsl(288,30%,50%)] — CSS variable: --color-primary: hsl(288, 30%, 50%);