HSL(291, 48%, 53%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(291,48%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(291, 48%, 53%) | color: hsl(291, 48%, 53%) | |
| HEX | #AF4EC1 | color: #AF4EC1 | |
| RGB | rgb(175, 78, 193) | color: rgb(175, 78, 193) | |
| CMYK | cmyk(9%, 60%, 0%, 24%) | — | |
| HSV | hsv(291, 60%, 76%) | — | |
| HWB | hwb(291 30% 24%) | color: hwb(291 30% 24%) | |
| OKLCH | oklch(0.5928 0.1904 321.12) | color: oklch(0.5928 0.1904 321.12) | |
| Lab | lab(49.99 56.08 -42.96) | color: lab(49.99 56.08 -42.96) | |
| LCH | lch(49.99 70.64 322.55) | color: lch(49.99 70.64 322.55) |
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)
#8584A5 — rgb(133, 132, 165)
Deuteranopia (Green-blind)
#8B929F — rgb(139, 146, 159)
Tritanopia (Blue-blind)
#AA8F8A — rgb(170, 143, 138)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(291, 48%, 53%);
text
color: hsl(291, 48%, 53%);
border
border: 2px solid hsl(291, 48%, 53%);
gradient light
background: linear-gradient(to right, hsl(291, 48%, 73%), hsl(291, 48%, 53%));
gradient dark
background: linear-gradient(to right, hsl(291, 48%, 53%), hsl(291, 48%, 33%))
hex
background-color: #AF4EC1;
tailwind
bg-[hsl(291,48%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(291, 48%, 53%, 0.4);
css variable
--color-primary: hsl(291, 48%, 53%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(291, 48%, 53%)?
HEX: #AF4EC1 | RGB: rgb(175, 78, 193) | CMYK: 9%, 60%, 0%, 24% | HSV: 291°, 60%, 76%. Copy any format from the conversion table above.
What colors go well with #AF4EC1?
The complementary color is HSL(111, 48%, 53%). For a triadic harmony, use hues 291°, 51°, and 171°. For analogous combinations, try hues 261° and 321°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(291, 48%, 53%) in CSS?
As HSL: color: hsl(291, 48%, 53%); — As HEX: color: #AF4EC1; — As RGB: color: rgb(175, 78, 193); — Tailwind CSS: bg-[hsl(291,48%,53%)] — CSS variable: --color-primary: hsl(291, 48%, 53%);