HSL(310, 23%, 77%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(310,23%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(310, 23%, 77%) | color: hsl(310, 23%, 77%) | |
| HEX | #D2B7CD | color: #D2B7CD | |
| RGB | rgb(210, 183, 205) | color: rgb(210, 183, 205) | |
| CMYK | cmyk(0%, 13%, 2%, 18%) | — | |
| HSV | hsv(311, 13%, 82%) | — | |
| HWB | hwb(311 71% 18%) | color: hwb(311 71% 18%) | |
| OKLCH | oklch(0.8092 0.0427 332.21) | color: oklch(0.8092 0.0427 332.21) | |
| Lab | lab(77.27 13.45 -7.52) | color: lab(77.27 13.45 -7.52) | |
| LCH | lch(77.27 15.41 330.79) | color: lch(77.27 15.41 330.79) |
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)
#C6C6C8 — rgb(198, 198, 200)
Deuteranopia (Green-blind)
#C8CAC6 — rgb(200, 202, 198)
Tritanopia (Blue-blind)
#D1C3C3 — rgb(209, 195, 195)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(310, 23%, 77%);
text
color: hsl(310, 23%, 77%);
border
border: 2px solid hsl(310, 23%, 77%);
gradient light
background: linear-gradient(to right, hsl(310, 23%, 97%), hsl(310, 23%, 77%));
gradient dark
background: linear-gradient(to right, hsl(310, 23%, 77%), hsl(310, 23%, 57%))
hex
background-color: #D2B7CD;
tailwind
bg-[hsl(310,23%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(310, 23%, 77%, 0.4);
css variable
--color-primary: hsl(310, 23%, 77%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(310, 23%, 77%)?
HEX: #D2B7CD | RGB: rgb(210, 183, 205) | CMYK: 0%, 13%, 2%, 18% | HSV: 311°, 13%, 82%. Copy any format from the conversion table above.
What colors go well with #D2B7CD?
The complementary color is HSL(130, 23%, 77%). For a triadic harmony, use hues 310°, 70°, and 190°. For analogous combinations, try hues 280° and 340°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(310, 23%, 77%) in CSS?
As HSL: color: hsl(310, 23%, 77%); — As HEX: color: #D2B7CD; — As RGB: color: rgb(210, 183, 205); — Tailwind CSS: bg-[hsl(310,23%,77%)] — CSS variable: --color-primary: hsl(310, 23%, 77%);