HSL(288, 30%, 57%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(288,30%,57%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(288, 30%, 57%) | color: hsl(288, 30%, 57%) | |
| HEX | #A570B2 | color: #A570B2 | |
| RGB | rgb(165, 112, 178) | color: rgb(165, 112, 178) | |
| CMYK | cmyk(7%, 37%, 0%, 30%) | — | |
| HSV | hsv(288, 37%, 70%) | — | |
| HWB | hwb(288 44% 30%) | color: hwb(288 44% 30%) | |
| OKLCH | oklch(0.624 0.113 319.56) | color: oklch(0.624 0.113 319.56) | |
| Lab | lab(54.87 32.47 -26.75) | color: lab(54.87 32.47 -26.75) | |
| LCH | lch(54.87 42.07 320.52) | color: lch(54.87 42.07 320.52) |
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: black
Color Blindness Simulation
Protanopia (Red-blind)
#8E8EA2 — rgb(142, 142, 162)
Deuteranopia (Green-blind)
#91959E — rgb(145, 149, 158)
Tritanopia (Blue-blind)
#A29593 — rgb(162, 149, 147)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(288, 30%, 57%);
text
color: hsl(288, 30%, 57%);
border
border: 2px solid hsl(288, 30%, 57%);
gradient light
background: linear-gradient(to right, hsl(288, 30%, 77%), hsl(288, 30%, 57%));
gradient dark
background: linear-gradient(to right, hsl(288, 30%, 57%), hsl(288, 30%, 37%))
hex
background-color: #A570B2;
tailwind
bg-[hsl(288,30%,57%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(288, 30%, 57%, 0.4);
css variable
--color-primary: hsl(288, 30%, 57%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(288, 30%, 57%)?
HEX: #A570B2 | RGB: rgb(165, 112, 178) | CMYK: 7%, 37%, 0%, 30% | HSV: 288°, 37%, 70%. Copy any format from the conversion table above.
What colors go well with #A570B2?
The complementary color is HSL(108, 30%, 57%). 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%, 57%) in CSS?
As HSL: color: hsl(288, 30%, 57%); — As HEX: color: #A570B2; — As RGB: color: rgb(165, 112, 178); — Tailwind CSS: bg-[hsl(288,30%,57%)] — CSS variable: --color-primary: hsl(288, 30%, 57%);