HSL(286, 32%, 77%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(286,32%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(286, 32%, 77%) | color: hsl(286, 32%, 77%) | |
| HEX | #CEB2D7 | color: #CEB2D7 | |
| RGB | rgb(206, 178, 215) | color: rgb(206, 178, 215) | |
| CMYK | cmyk(4%, 17%, 0%, 16%) | — | |
| HSV | hsv(285, 17%, 84%) | — | |
| HWB | hwb(285 70% 16%) | color: hwb(285 70% 16%) | |
| OKLCH | oklch(0.7994 0.0597 317.89) | color: oklch(0.7994 0.0597 317.89) | |
| Lab | lab(75.99 16.68 -14.89) | color: lab(75.99 16.68 -14.89) | |
| LCH | lch(75.99 22.36 318.25) | color: lch(75.99 22.36 318.25) |
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)
#C2C2CE — rgb(194, 194, 206)
Deuteranopia (Green-blind)
#C4C6CC — rgb(196, 198, 204)
Tritanopia (Blue-blind)
#CDC7C5 — rgb(205, 199, 197)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(286, 32%, 77%);
text
color: hsl(286, 32%, 77%);
border
border: 2px solid hsl(286, 32%, 77%);
gradient light
background: linear-gradient(to right, hsl(286, 32%, 97%), hsl(286, 32%, 77%));
gradient dark
background: linear-gradient(to right, hsl(286, 32%, 77%), hsl(286, 32%, 57%))
hex
background-color: #CEB2D7;
tailwind
bg-[hsl(286,32%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(286, 32%, 77%, 0.4);
css variable
--color-primary: hsl(286, 32%, 77%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(286, 32%, 77%)?
HEX: #CEB2D7 | RGB: rgb(206, 178, 215) | CMYK: 4%, 17%, 0%, 16% | HSV: 285°, 17%, 84%. Copy any format from the conversion table above.
What colors go well with #CEB2D7?
The complementary color is HSL(106, 32%, 77%). For a triadic harmony, use hues 286°, 46°, and 166°. For analogous combinations, try hues 256° and 316°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(286, 32%, 77%) in CSS?
As HSL: color: hsl(286, 32%, 77%); — As HEX: color: #CEB2D7; — As RGB: color: rgb(206, 178, 215); — Tailwind CSS: bg-[hsl(286,32%,77%)] — CSS variable: --color-primary: hsl(286, 32%, 77%);