HSL(307, 22%, 53%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(307,22%,53%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(307, 22%, 53%) | color: hsl(307, 22%, 53%) | |
| HEX | #A26D9B | color: #A26D9B | |
| RGB | rgb(162, 109, 155) | color: rgb(162, 109, 155) | |
| CMYK | cmyk(0%, 33%, 4%, 36%) | — | |
| HSV | hsv(308, 33%, 64%) | — | |
| HWB | hwb(308 43% 36%) | color: hwb(308 43% 36%) | |
| OKLCH | oklch(0.6056 0.0921 331.38) | color: oklch(0.6056 0.0921 331.38) | |
| Lab | lab(52.93 28.62 -16.39) | color: lab(52.93 28.62 -16.39) | |
| LCH | lch(52.93 32.98 330.2) | color: lch(52.93 32.98 330.2) |
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)
#8B8B90 — rgb(139, 139, 144)
Deuteranopia (Green-blind)
#8E928D — rgb(142, 146, 141)
Tritanopia (Blue-blind)
#9F8785 — rgb(159, 135, 133)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(307, 22%, 53%);
text
color: hsl(307, 22%, 53%);
border
border: 2px solid hsl(307, 22%, 53%);
gradient light
background: linear-gradient(to right, hsl(307, 22%, 73%), hsl(307, 22%, 53%));
gradient dark
background: linear-gradient(to right, hsl(307, 22%, 53%), hsl(307, 22%, 33%))
hex
background-color: #A26D9B;
tailwind
bg-[hsl(307,22%,53%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(307, 22%, 53%, 0.4);
css variable
--color-primary: hsl(307, 22%, 53%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(307, 22%, 53%)?
HEX: #A26D9B | RGB: rgb(162, 109, 155) | CMYK: 0%, 33%, 4%, 36% | HSV: 308°, 33%, 64%. Copy any format from the conversion table above.
What colors go well with #A26D9B?
The complementary color is HSL(127, 22%, 53%). For a triadic harmony, use hues 307°, 67°, and 187°. For analogous combinations, try hues 277° and 337°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(307, 22%, 53%) in CSS?
As HSL: color: hsl(307, 22%, 53%); — As HEX: color: #A26D9B; — As RGB: color: rgb(162, 109, 155); — Tailwind CSS: bg-[hsl(307,22%,53%)] — CSS variable: --color-primary: hsl(307, 22%, 53%);