HSL(312, 14%, 79%)
Grayish Purple — Purple color
Adjust Color
Color Information
Color Name
Grayish Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(312,14%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 14%, 79%) | color: hsl(312, 14%, 79%) | |
| HEX | #D1C2CE | color: #D1C2CE | |
| RGB | rgb(209, 194, 206) | color: rgb(209, 194, 206) | |
| CMYK | cmyk(0%, 7%, 1%, 18%) | — | |
| HSV | hsv(312, 7%, 82%) | — | |
| HWB | hwb(312 76% 18%) | color: hwb(312 76% 18%) | |
| OKLCH | oklch(0.83 0.0234 332.42) | color: oklch(0.83 0.0234 332.42) | |
| Lab | lab(79.95 7.38 -4.1) | color: lab(79.95 7.38 -4.1) | |
| LCH | lch(79.95 8.44 330.95) | color: lch(79.95 8.44 330.95) |
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)
#CBCACB — rgb(203, 202, 203)
Deuteranopia (Green-blind)
#CBCDCA — rgb(203, 205, 202)
Tritanopia (Blue-blind)
#D0C9C8 — rgb(208, 201, 200)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 14%, 79%);
text
color: hsl(312, 14%, 79%);
border
border: 2px solid hsl(312, 14%, 79%);
gradient light
background: linear-gradient(to right, hsl(312, 14%, 99%), hsl(312, 14%, 79%));
gradient dark
background: linear-gradient(to right, hsl(312, 14%, 79%), hsl(312, 14%, 59%))
hex
background-color: #D1C2CE;
tailwind
bg-[hsl(312,14%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 14%, 79%, 0.4);
css variable
--color-primary: hsl(312, 14%, 79%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 14%, 79%)?
HEX: #D1C2CE | RGB: rgb(209, 194, 206) | CMYK: 0%, 7%, 1%, 18% | HSV: 312°, 7%, 82%. Copy any format from the conversion table above.
What colors go well with #D1C2CE?
The complementary color is HSL(132, 14%, 79%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 14%, 79%) in CSS?
As HSL: color: hsl(312, 14%, 79%); — As HEX: color: #D1C2CE; — As RGB: color: rgb(209, 194, 206); — Tailwind CSS: bg-[hsl(312,14%,79%)] — CSS variable: --color-primary: hsl(312, 14%, 79%);