HSL(303, 30%, 52%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(303,30%,52%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 30%, 52%) | color: hsl(303, 30%, 52%) | |
| HEX | #A960A6 | color: #A960A6 | |
| RGB | rgb(169, 96, 166) | color: rgb(169, 96, 166) | |
| CMYK | cmyk(0%, 43%, 2%, 34%) | — | |
| HSV | hsv(302, 43%, 66%) | — | |
| HWB | hwb(302 38% 34%) | color: hwb(302 38% 34%) | |
| OKLCH | oklch(0.5968 0.1318 328.56) | color: oklch(0.5968 0.1318 328.56) | |
| Lab | lab(51.33 40.19 -25.21) | color: lab(51.33 40.19 -25.21) | |
| LCH | lch(51.33 47.44 327.9) | color: lch(51.33 47.44 327.9) |
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)
#898995 — rgb(137, 137, 149)
Deuteranopia (Green-blind)
#8E9391 — rgb(142, 147, 145)
Tritanopia (Blue-blind)
#A58885 — rgb(165, 136, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 30%, 52%);
text
color: hsl(303, 30%, 52%);
border
border: 2px solid hsl(303, 30%, 52%);
gradient light
background: linear-gradient(to right, hsl(303, 30%, 72%), hsl(303, 30%, 52%));
gradient dark
background: linear-gradient(to right, hsl(303, 30%, 52%), hsl(303, 30%, 32%))
hex
background-color: #A960A6;
tailwind
bg-[hsl(303,30%,52%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 30%, 52%, 0.4);
css variable
--color-primary: hsl(303, 30%, 52%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 30%, 52%)?
HEX: #A960A6 | RGB: rgb(169, 96, 166) | CMYK: 0%, 43%, 2%, 34% | HSV: 302°, 43%, 66%. Copy any format from the conversion table above.
What colors go well with #A960A6?
The complementary color is HSL(123, 30%, 52%). For a triadic harmony, use hues 303°, 63°, and 183°. For analogous combinations, try hues 273° and 333°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(303, 30%, 52%) in CSS?
As HSL: color: hsl(303, 30%, 52%); — As HEX: color: #A960A6; — As RGB: color: rgb(169, 96, 166); — Tailwind CSS: bg-[hsl(303,30%,52%)] — CSS variable: --color-primary: hsl(303, 30%, 52%);