HSL(311, 34%, 47%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(311,34%,47%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 34%, 47%) | color: hsl(311, 34%, 47%) | |
| HEX | #A14F92 | color: #A14F92 | |
| RGB | rgb(161, 79, 146) | color: rgb(161, 79, 146) | |
| CMYK | cmyk(0%, 51%, 9%, 37%) | — | |
| HSV | hsv(311, 51%, 63%) | — | |
| HWB | hwb(311 31% 37%) | color: hwb(311 31% 37%) | |
| OKLCH | oklch(0.5518 0.1375 334.64) | color: oklch(0.5518 0.1375 334.64) | |
| Lab | lab(45.97 43.03 -21.74) | color: lab(45.97 43.03 -21.74) | |
| LCH | lch(45.97 48.21 333.2) | color: lch(45.97 48.21 333.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: white
Color Blindness Simulation
Protanopia (Red-blind)
#7D7D82 — rgb(125, 125, 130)
Deuteranopia (Green-blind)
#82887E — rgb(130, 136, 126)
Tritanopia (Blue-blind)
#9D7572 — rgb(157, 117, 114)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 34%, 47%);
text
color: hsl(311, 34%, 47%);
border
border: 2px solid hsl(311, 34%, 47%);
gradient light
background: linear-gradient(to right, hsl(311, 34%, 67%), hsl(311, 34%, 47%));
gradient dark
background: linear-gradient(to right, hsl(311, 34%, 47%), hsl(311, 34%, 27%))
hex
background-color: #A14F92;
tailwind
bg-[hsl(311,34%,47%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 34%, 47%, 0.4);
css variable
--color-primary: hsl(311, 34%, 47%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 34%, 47%)?
HEX: #A14F92 | RGB: rgb(161, 79, 146) | CMYK: 0%, 51%, 9%, 37% | HSV: 311°, 51%, 63%. Copy any format from the conversion table above.
What colors go well with #A14F92?
The complementary color is HSL(131, 34%, 47%). For a triadic harmony, use hues 311°, 71°, and 191°. For analogous combinations, try hues 281° and 341°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(311, 34%, 47%) in CSS?
As HSL: color: hsl(311, 34%, 47%); — As HEX: color: #A14F92; — As RGB: color: rgb(161, 79, 146); — Tailwind CSS: bg-[hsl(311,34%,47%)] — CSS variable: --color-primary: hsl(311, 34%, 47%);