HSL(295, 30%, 56%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(295,30%,56%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(295, 30%, 56%) | color: hsl(295, 30%, 56%) | |
| HEX | #AB6DB0 | color: #AB6DB0 | |
| RGB | rgb(171, 109, 176) | color: rgb(171, 109, 176) | |
| CMYK | cmyk(3%, 38%, 0%, 31%) | — | |
| HSV | hsv(296, 38%, 69%) | — | |
| HWB | hwb(296 43% 31%) | color: hwb(296 43% 31%) | |
| OKLCH | oklch(0.6247 0.1199 324.24) | color: oklch(0.6247 0.1199 324.24) | |
| Lab | lab(54.79 35.66 -25.66) | color: lab(54.79 35.66 -25.66) | |
| LCH | lch(54.79 43.93 324.26) | color: lch(54.79 43.93 324.26) |
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)
#9090A0 — rgb(144, 144, 160)
Deuteranopia (Green-blind)
#94989C — rgb(148, 152, 156)
Tritanopia (Blue-blind)
#A89390 — rgb(168, 147, 144)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(295, 30%, 56%);
text
color: hsl(295, 30%, 56%);
border
border: 2px solid hsl(295, 30%, 56%);
gradient light
background: linear-gradient(to right, hsl(295, 30%, 76%), hsl(295, 30%, 56%));
gradient dark
background: linear-gradient(to right, hsl(295, 30%, 56%), hsl(295, 30%, 36%))
hex
background-color: #AB6DB0;
tailwind
bg-[hsl(295,30%,56%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(295, 30%, 56%, 0.4);
css variable
--color-primary: hsl(295, 30%, 56%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(295, 30%, 56%)?
HEX: #AB6DB0 | RGB: rgb(171, 109, 176) | CMYK: 3%, 38%, 0%, 31% | HSV: 296°, 38%, 69%. Copy any format from the conversion table above.
What colors go well with #AB6DB0?
The complementary color is HSL(115, 30%, 56%). For a triadic harmony, use hues 295°, 55°, and 175°. For analogous combinations, try hues 265° and 325°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(295, 30%, 56%) in CSS?
As HSL: color: hsl(295, 30%, 56%); — As HEX: color: #AB6DB0; — As RGB: color: rgb(171, 109, 176); — Tailwind CSS: bg-[hsl(295,30%,56%)] — CSS variable: --color-primary: hsl(295, 30%, 56%);