HSL(298, 10%, 79%)
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(298,10%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(298, 10%, 79%) | color: hsl(298, 10%, 79%) | |
| HEX | #CEC4CF | color: #CEC4CF | |
| RGB | rgb(206, 196, 207) | color: rgb(206, 196, 207) | |
| CMYK | cmyk(0%, 5%, 0%, 19%) | — | |
| HSV | hsv(295, 5%, 81%) | — | |
| HWB | hwb(295 77% 19%) | color: hwb(295 77% 19%) | |
| OKLCH | oklch(0.8317 0.0187 323) | color: oklch(0.8317 0.0187 323) | |
| Lab | lab(80.24 5.47 -4.24) | color: lab(80.24 5.47 -4.24) | |
| LCH | lch(80.24 6.92 322.22) | color: lch(80.24 6.92 322.22) |
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)
#CACACC — rgb(202, 202, 204)
Deuteranopia (Green-blind)
#CACBCC — rgb(202, 203, 204)
Tritanopia (Blue-blind)
#CECACA — rgb(206, 202, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(298, 10%, 79%);
text
color: hsl(298, 10%, 79%);
border
border: 2px solid hsl(298, 10%, 79%);
gradient light
background: linear-gradient(to right, hsl(298, 10%, 99%), hsl(298, 10%, 79%));
gradient dark
background: linear-gradient(to right, hsl(298, 10%, 79%), hsl(298, 10%, 59%))
hex
background-color: #CEC4CF;
tailwind
bg-[hsl(298,10%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(298, 10%, 79%, 0.4);
css variable
--color-primary: hsl(298, 10%, 79%);
Related Colors
Use Cases for Grayish Purple
Frequently Asked Questions
What are all the color codes for HSL(298, 10%, 79%)?
HEX: #CEC4CF | RGB: rgb(206, 196, 207) | CMYK: 0%, 5%, 0%, 19% | HSV: 295°, 5%, 81%. Copy any format from the conversion table above.
What colors go well with #CEC4CF?
The complementary color is HSL(118, 10%, 79%). For a triadic harmony, use hues 298°, 58°, and 178°. For analogous combinations, try hues 268° and 328°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(298, 10%, 79%) in CSS?
As HSL: color: hsl(298, 10%, 79%); — As HEX: color: #CEC4CF; — As RGB: color: rgb(206, 196, 207); — Tailwind CSS: bg-[hsl(298,10%,79%)] — CSS variable: --color-primary: hsl(298, 10%, 79%);