HSL(311, 60%, 77%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(311,60%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(311, 60%, 77%) | color: hsl(311, 60%, 77%) | |
| HEX | #E8A1DB | color: #E8A1DB | |
| RGB | rgb(232, 161, 219) | color: rgb(232, 161, 219) | |
| CMYK | cmyk(0%, 31%, 6%, 9%) | — | |
| HSV | hsv(311, 31%, 91%) | — | |
| HWB | hwb(311 63% 9%) | color: hwb(311 63% 9%) | |
| OKLCH | oklch(0.7956 0.1122 333.27) | color: oklch(0.7956 0.1122 333.27) | |
| Lab | lab(74.67 35.22 -18.81) | color: lab(74.67 35.22 -18.81) | |
| LCH | lch(74.67 39.93 331.89) | color: lch(74.67 39.93 331.89) |
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)
#C9C9CD — rgb(201, 201, 205)
Deuteranopia (Green-blind)
#CDD3CA — rgb(205, 211, 202)
Tritanopia (Blue-blind)
#E4C2BF — rgb(228, 194, 191)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(311, 60%, 77%);
text
color: hsl(311, 60%, 77%);
border
border: 2px solid hsl(311, 60%, 77%);
gradient light
background: linear-gradient(to right, hsl(311, 60%, 97%), hsl(311, 60%, 77%));
gradient dark
background: linear-gradient(to right, hsl(311, 60%, 77%), hsl(311, 60%, 57%))
hex
background-color: #E8A1DB;
tailwind
bg-[hsl(311,60%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(311, 60%, 77%, 0.4);
css variable
--color-primary: hsl(311, 60%, 77%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(311, 60%, 77%)?
HEX: #E8A1DB | RGB: rgb(232, 161, 219) | CMYK: 0%, 31%, 6%, 9% | HSV: 311°, 31%, 91%. Copy any format from the conversion table above.
What colors go well with #E8A1DB?
The complementary color is HSL(131, 60%, 77%). 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, 60%, 77%) in CSS?
As HSL: color: hsl(311, 60%, 77%); — As HEX: color: #E8A1DB; — As RGB: color: rgb(232, 161, 219); — Tailwind CSS: bg-[hsl(311,60%,77%)] — CSS variable: --color-primary: hsl(311, 60%, 77%);