HSL(285, 100%, 36%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(285,100%,36%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(285, 100%, 36%) | color: hsl(285, 100%, 36%) | |
| HEX | #8A00B8 | color: #8A00B8 | |
| RGB | rgb(138, 0, 184) | color: rgb(138, 0, 184) | |
| CMYK | cmyk(25%, 100%, 0%, 28%) | — | |
| HSV | hsv(285, 100%, 72%) | — | |
| HWB | hwb(285 0% 28%) | color: hwb(285 0% 28%) | |
| OKLCH | oklch(0.4785 0.2377 313.35) | color: oklch(0.4785 0.2377 313.35) | |
| Lab | lab(35.72 70.08 -60.94) | color: lab(35.72 70.08 -60.94) | |
| LCH | lch(35.72 92.87 318.99) | color: lch(35.72 92.87 318.99) |
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)
#4E4D8B — rgb(78, 77, 139)
Deuteranopia (Green-blind)
#566181 — rgb(86, 97, 129)
Tritanopia (Blue-blind)
#836861 — rgb(131, 104, 97)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(285, 100%, 36%);
text
color: hsl(285, 100%, 36%);
border
border: 2px solid hsl(285, 100%, 36%);
gradient light
background: linear-gradient(to right, hsl(285, 100%, 56%), hsl(285, 100%, 36%));
gradient dark
background: linear-gradient(to right, hsl(285, 100%, 36%), hsl(285, 100%, 16%))
hex
background-color: #8A00B8;
tailwind
bg-[hsl(285,100%,36%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(285, 100%, 36%, 0.4);
css variable
--color-primary: hsl(285, 100%, 36%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(285, 100%, 36%)?
HEX: #8A00B8 | RGB: rgb(138, 0, 184) | CMYK: 25%, 100%, 0%, 28% | HSV: 285°, 100%, 72%. Copy any format from the conversion table above.
What colors go well with #8A00B8?
The complementary color is HSL(105, 100%, 36%). 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, 100%, 36%) in CSS?
As HSL: color: hsl(285, 100%, 36%); — As HEX: color: #8A00B8; — As RGB: color: rgb(138, 0, 184); — Tailwind CSS: bg-[hsl(285,100%,36%)] — CSS variable: --color-primary: hsl(285, 100%, 36%);