HSL(314, 21%, 80%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(314,21%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(314, 21%, 80%) | color: hsl(314, 21%, 80%) | |
| HEX | #D7C1D2 | color: #D7C1D2 | |
| RGB | rgb(215, 193, 210) | color: rgb(215, 193, 210) | |
| CMYK | cmyk(0%, 10%, 2%, 16%) | — | |
| HSV | hsv(314, 10%, 84%) | — | |
| HWB | hwb(314 76% 16%) | color: hwb(314 76% 16%) | |
| OKLCH | oklch(0.8344 0.0337 333.64) | color: oklch(0.8344 0.0337 333.64) | |
| Lab | lab(80.31 10.71 -5.66) | color: lab(80.31 10.71 -5.66) | |
| LCH | lch(80.31 12.11 332.14) | color: lch(80.31 12.11 332.14) |
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)
#CDCDCE — rgb(205, 205, 206)
Deuteranopia (Green-blind)
#CFD0CD — rgb(207, 208, 205)
Tritanopia (Blue-blind)
#D6CBCA — rgb(214, 203, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(314, 21%, 80%);
text
color: hsl(314, 21%, 80%);
border
border: 2px solid hsl(314, 21%, 80%);
gradient light
background: linear-gradient(to right, hsl(314, 21%, 100%), hsl(314, 21%, 80%));
gradient dark
background: linear-gradient(to right, hsl(314, 21%, 80%), hsl(314, 21%, 60%))
hex
background-color: #D7C1D2;
tailwind
bg-[hsl(314,21%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(314, 21%, 80%, 0.4);
css variable
--color-primary: hsl(314, 21%, 80%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(314, 21%, 80%)?
HEX: #D7C1D2 | RGB: rgb(215, 193, 210) | CMYK: 0%, 10%, 2%, 16% | HSV: 314°, 10%, 84%. Copy any format from the conversion table above.
What colors go well with #D7C1D2?
The complementary color is HSL(134, 21%, 80%). For a triadic harmony, use hues 314°, 74°, and 194°. For analogous combinations, try hues 284° and 344°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(314, 21%, 80%) in CSS?
As HSL: color: hsl(314, 21%, 80%); — As HEX: color: #D7C1D2; — As RGB: color: rgb(215, 193, 210); — Tailwind CSS: bg-[hsl(314,21%,80%)] — CSS variable: --color-primary: hsl(314, 21%, 80%);