HSL(288, 83%, 36%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,83%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 83%, 36%) | color: hsl(288, 83%, 36%) | |
| HEX | #8A10A8 | color: #8A10A8 | |
| RGB | rgb(138, 16, 168) | color: rgb(138, 16, 168) | |
| CMYK | cmyk(18%, 90%, 0%, 34%) | — | |
| HSV | hsv(288, 90%, 66%) | — | |
| HWB | hwb(288 7% 34%) | color: hwb(288 7% 34%) | |
| OKLCH | oklch(0.471 0.2193 317.77) | color: oklch(0.471 0.2193 317.77) | |
| Lab | lab(35.21 64.99 -52.23) | color: lab(35.21 64.99 -52.23) | |
| LCH | lch(35.21 83.38 321.21) | color: lch(35.21 83.38 321.21) |
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)
#555483 — rgb(85, 84, 131)
Deuteranopia (Green-blind)
#5C657A — rgb(92, 101, 122)
Tritanopia (Blue-blind)
#846660 — rgb(132, 102, 96)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 83%, 36%);
text
color: hsl(288, 83%, 36%);
border
border: 2px solid hsl(288, 83%, 36%);
gradient light
background: linear-gradient(to right, hsl(288, 83%, 56%), hsl(288, 83%, 36%));
gradient dark
background: linear-gradient(to right, hsl(288, 83%, 36%), hsl(288, 83%, 16%))
hex
background-color: #8A10A8;
tailwind
bg-[hsl(288,83%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 83%, 36%, 0.4);
css variable
--color-primary: hsl(288, 83%, 36%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 83%, 36%)?
HEX: #8A10A8 | RGB: rgb(138, 16, 168) | CMYK: 18%, 90%, 0%, 34% | HSV: 288°, 90%, 66%. Copy any format from the conversion table above.
What colors go well with #8A10A8?
The complementary color is HSL(108, 83%, 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, 83%, 36%) in CSS?
As HSL: color: hsl(288, 83%, 36%); — As HEX: color: #8A10A8; — As RGB: color: rgb(138, 16, 168); — Tailwind CSS: bg-[hsl(288,83%,36%)] — CSS variable: --color-primary: hsl(288, 83%, 36%);