HSL(287, 10%, 81%)
Grayish Purple — Purple color
Adjust Color
Color Information
Color Name
Grayish Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
N/A
CSS Class
bg-[hsl(287,10%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(287, 10%, 81%) | color: hsl(287, 10%, 81%) | |
| HEX | #D1CAD3 | color: #D1CAD3 | |
| RGB | rgb(209, 202, 211) | color: rgb(209, 202, 211) | |
| CMYK | cmyk(1%, 4%, 0%, 17%) | — | |
| HSV | hsv(287, 4%, 83%) | — | |
| HWB | hwb(287 80% 17%) | color: hwb(287 80% 17%) | |
| OKLCH | oklch(0.8473 0.0145 318.69) | color: oklch(0.8473 0.0145 318.69) | |
| Lab | lab(82.11 4.05 -3.6) | color: lab(82.11 4.05 -3.6) | |
| LCH | lch(82.11 5.42 318.37) | color: lch(82.11 5.42 318.37) |
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)
#CECED1 — rgb(206, 206, 209)
Deuteranopia (Green-blind)
#CECFD0 — rgb(206, 207, 208)
Tritanopia (Blue-blind)
#D1CFCF — rgb(209, 207, 207)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(287, 10%, 81%);
text
color: hsl(287, 10%, 81%);
border
border: 2px solid hsl(287, 10%, 81%);
gradient light
background: linear-gradient(to right, hsl(287, 10%, 100%), hsl(287, 10%, 81%));
gradient dark
background: linear-gradient(to right, hsl(287, 10%, 81%), hsl(287, 10%, 61%))
hex
background-color: #D1CAD3;
tailwind
bg-[hsl(287,10%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(287, 10%, 81%, 0.4);
css variable
--color-primary: hsl(287, 10%, 81%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(287, 10%, 81%)?
HEX: #D1CAD3 | RGB: rgb(209, 202, 211) | CMYK: 1%, 4%, 0%, 17% | HSV: 287°, 4%, 83%. Copy any format from the conversion table above.
What colors go well with #D1CAD3?
The complementary color is HSL(107, 10%, 81%). For a triadic harmony, use hues 287°, 47°, and 167°. For analogous combinations, try hues 257° and 317°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(287, 10%, 81%) in CSS?
As HSL: color: hsl(287, 10%, 81%); — As HEX: color: #D1CAD3; — As RGB: color: rgb(209, 202, 211); — Tailwind CSS: bg-[hsl(287,10%,81%)] — CSS variable: --color-primary: hsl(287, 10%, 81%);