HSL(290, 45%, 49%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(290,45%,49%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(290, 45%, 49%) | color: hsl(290, 45%, 49%) | |
| HEX | #A245B5 | color: #A245B5 | |
| RGB | rgb(162, 69, 181) | color: rgb(162, 69, 181) | |
| CMYK | cmyk(10%, 62%, 0%, 29%) | — | |
| HSV | hsv(290, 62%, 71%) | — | |
| HWB | hwb(290 27% 29%) | color: hwb(290 27% 29%) | |
| OKLCH | oklch(0.5579 0.1859 320.5) | color: oklch(0.5579 0.1859 320.5) | |
| Lab | lab(46.01 54.64 -42.42) | color: lab(46.01 54.64 -42.42) | |
| LCH | lch(46.01 69.17 322.18) | color: lch(46.01 69.17 322.18) |
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)
#7A799A — rgb(122, 121, 154)
Deuteranopia (Green-blind)
#7F8693 — rgb(127, 134, 147)
Tritanopia (Blue-blind)
#9D8580 — rgb(157, 133, 128)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(290, 45%, 49%);
text
color: hsl(290, 45%, 49%);
border
border: 2px solid hsl(290, 45%, 49%);
gradient light
background: linear-gradient(to right, hsl(290, 45%, 69%), hsl(290, 45%, 49%));
gradient dark
background: linear-gradient(to right, hsl(290, 45%, 49%), hsl(290, 45%, 29%))
hex
background-color: #A245B5;
tailwind
bg-[hsl(290,45%,49%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(290, 45%, 49%, 0.4);
css variable
--color-primary: hsl(290, 45%, 49%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(290, 45%, 49%)?
HEX: #A245B5 | RGB: rgb(162, 69, 181) | CMYK: 10%, 62%, 0%, 29% | HSV: 290°, 62%, 71%. Copy any format from the conversion table above.
What colors go well with #A245B5?
The complementary color is HSL(110, 45%, 49%). 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%, 49%) in CSS?
As HSL: color: hsl(290, 45%, 49%); — As HEX: color: #A245B5; — As RGB: color: rgb(162, 69, 181); — Tailwind CSS: bg-[hsl(290,45%,49%)] — CSS variable: --color-primary: hsl(290, 45%, 49%);