HSL(290, 45%, 55%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(290,45%,55%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(290, 45%, 55%) | color: hsl(290, 45%, 55%) | |
| HEX | #AF59C0 | color: #AF59C0 | |
| RGB | rgb(175, 89, 192) | color: rgb(175, 89, 192) | |
| CMYK | cmyk(9%, 54%, 0%, 25%) | — | |
| HSV | hsv(290, 54%, 75%) | — | |
| HWB | hwb(290 35% 25%) | color: hwb(290 35% 25%) | |
| OKLCH | oklch(0.6066 0.1727 320.8) | color: oklch(0.6066 0.1727 320.8) | |
| Lab | lab(51.91 50.58 -39.35) | color: lab(51.91 50.58 -39.35) | |
| LCH | lch(51.91 64.08 322.12) | color: lch(51.91 64.08 322.12) |
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)
#8A89A7 — rgb(138, 137, 167)
Deuteranopia (Green-blind)
#8F95A1 — rgb(143, 149, 161)
Tritanopia (Blue-blind)
#AB938F — rgb(171, 147, 143)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(290, 45%, 55%);
text
color: hsl(290, 45%, 55%);
border
border: 2px solid hsl(290, 45%, 55%);
gradient light
background: linear-gradient(to right, hsl(290, 45%, 75%), hsl(290, 45%, 55%));
gradient dark
background: linear-gradient(to right, hsl(290, 45%, 55%), hsl(290, 45%, 35%))
hex
background-color: #AF59C0;
tailwind
bg-[hsl(290,45%,55%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(290, 45%, 55%, 0.4);
css variable
--color-primary: hsl(290, 45%, 55%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(290, 45%, 55%)?
HEX: #AF59C0 | RGB: rgb(175, 89, 192) | CMYK: 9%, 54%, 0%, 25% | HSV: 290°, 54%, 75%. Copy any format from the conversion table above.
What colors go well with #AF59C0?
The complementary color is HSL(110, 45%, 55%). For a triadic harmony, use hues 290°, 50°, and 170°. For analogous combinations, try hues 260° and 320°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(290, 45%, 55%) in CSS?
As HSL: color: hsl(290, 45%, 55%); — As HEX: color: #AF59C0; — As RGB: color: rgb(175, 89, 192); — Tailwind CSS: bg-[hsl(290,45%,55%)] — CSS variable: --color-primary: hsl(290, 45%, 55%);