HSL(288, 80%, 51%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,80%,51%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 80%, 51%) | color: hsl(288, 80%, 51%) | |
| HEX | #BE1EE6 | color: #BE1EE6 | |
| RGB | rgb(190, 30, 230) | color: rgb(190, 30, 230) | |
| CMYK | cmyk(17%, 87%, 0%, 10%) | — | |
| HSV | hsv(288, 87%, 90%) | — | |
| HWB | hwb(288 12% 10%) | color: hwb(288 12% 10%) | |
| OKLCH | oklch(0.5973 0.2753 317.76) | color: oklch(0.5973 0.2753 317.76) | |
| Lab | lab(49 81.54 -65.62) | color: lab(49 81.54 -65.62) | |
| LCH | lch(49 104.66 321.17) | color: lch(49 104.66 321.17) |
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)
#7977B6 — rgb(121, 119, 182)
Deuteranopia (Green-blind)
#828EAA — rgb(130, 142, 170)
Tritanopia (Blue-blind)
#B68F87 — rgb(182, 143, 135)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 80%, 51%);
text
color: hsl(288, 80%, 51%);
border
border: 2px solid hsl(288, 80%, 51%);
gradient light
background: linear-gradient(to right, hsl(288, 80%, 71%), hsl(288, 80%, 51%));
gradient dark
background: linear-gradient(to right, hsl(288, 80%, 51%), hsl(288, 80%, 31%))
hex
background-color: #BE1EE6;
tailwind
bg-[hsl(288,80%,51%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 80%, 51%, 0.4);
css variable
--color-primary: hsl(288, 80%, 51%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 80%, 51%)?
HEX: #BE1EE6 | RGB: rgb(190, 30, 230) | CMYK: 17%, 87%, 0%, 10% | HSV: 288°, 87%, 90%. Copy any format from the conversion table above.
What colors go well with #BE1EE6?
The complementary color is HSL(108, 80%, 51%). 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, 80%, 51%) in CSS?
As HSL: color: hsl(288, 80%, 51%); — As HEX: color: #BE1EE6; — As RGB: color: rgb(190, 30, 230); — Tailwind CSS: bg-[hsl(288,80%,51%)] — CSS variable: --color-primary: hsl(288, 80%, 51%);