HSL(288, 100%, 36%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,100%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 100%, 36%) | color: hsl(288, 100%, 36%) | |
| HEX | #9300B8 | color: #9300B8 | |
| RGB | rgb(147, 0, 184) | color: rgb(147, 0, 184) | |
| CMYK | cmyk(20%, 100%, 0%, 28%) | — | |
| HSV | hsv(288, 100%, 72%) | — | |
| HWB | hwb(288 0% 28%) | color: hwb(288 0% 28%) | |
| OKLCH | oklch(0.4918 0.2403 316.57) | color: oklch(0.4918 0.2403 316.57) | |
| Lab | lab(37.23 71.29 -58.41) | color: lab(37.23 71.29 -58.41) | |
| LCH | lch(37.23 92.16 320.67) | color: lch(37.23 92.16 320.67) |
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)
#53528B — rgb(83, 82, 139)
Deuteranopia (Green-blind)
#5C6781 — rgb(92, 103, 129)
Tritanopia (Blue-blind)
#8C6861 — rgb(140, 104, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 100%, 36%);
text
color: hsl(288, 100%, 36%);
border
border: 2px solid hsl(288, 100%, 36%);
gradient light
background: linear-gradient(to right, hsl(288, 100%, 56%), hsl(288, 100%, 36%));
gradient dark
background: linear-gradient(to right, hsl(288, 100%, 36%), hsl(288, 100%, 16%))
hex
background-color: #9300B8;
tailwind
bg-[hsl(288,100%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 100%, 36%, 0.4);
css variable
--color-primary: hsl(288, 100%, 36%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 100%, 36%)?
HEX: #9300B8 | RGB: rgb(147, 0, 184) | CMYK: 20%, 100%, 0%, 28% | HSV: 288°, 100%, 72%. Copy any format from the conversion table above.
What colors go well with #9300B8?
The complementary color is HSL(108, 100%, 36%). 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, 100%, 36%) in CSS?
As HSL: color: hsl(288, 100%, 36%); — As HEX: color: #9300B8; — As RGB: color: rgb(147, 0, 184); — Tailwind CSS: bg-[hsl(288,100%,36%)] — CSS variable: --color-primary: hsl(288, 100%, 36%);