HSL(286, 28%, 73%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(286,28%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(286, 28%, 73%) | color: hsl(286, 28%, 73%) | |
| HEX | #C4A7CD | color: #C4A7CD | |
| RGB | rgb(196, 167, 205) | color: rgb(196, 167, 205) | |
| CMYK | cmyk(4%, 19%, 0%, 20%) | — | |
| HSV | hsv(286, 19%, 80%) | — | |
| HWB | hwb(286 65% 20%) | color: hwb(286 65% 20%) | |
| OKLCH | oklch(0.766 0.0621 318.12) | color: oklch(0.766 0.0621 318.12) | |
| Lab | lab(72.08 17.4 -15.4) | color: lab(72.08 17.4 -15.4) | |
| LCH | lch(72.08 23.24 318.49) | color: lch(72.08 23.24 318.49) |
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)
#B7B7C4 — rgb(183, 183, 196)
Deuteranopia (Green-blind)
#B9BBC2 — rgb(185, 187, 194)
Tritanopia (Blue-blind)
#C3BDBB — rgb(195, 189, 187)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(286, 28%, 73%);
text
color: hsl(286, 28%, 73%);
border
border: 2px solid hsl(286, 28%, 73%);
gradient light
background: linear-gradient(to right, hsl(286, 28%, 93%), hsl(286, 28%, 73%));
gradient dark
background: linear-gradient(to right, hsl(286, 28%, 73%), hsl(286, 28%, 53%))
hex
background-color: #C4A7CD;
tailwind
bg-[hsl(286,28%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(286, 28%, 73%, 0.4);
css variable
--color-primary: hsl(286, 28%, 73%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(286, 28%, 73%)?
HEX: #C4A7CD | RGB: rgb(196, 167, 205) | CMYK: 4%, 19%, 0%, 20% | HSV: 286°, 19%, 80%. Copy any format from the conversion table above.
What colors go well with #C4A7CD?
The complementary color is HSL(106, 28%, 73%). 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, 28%, 73%) in CSS?
As HSL: color: hsl(286, 28%, 73%); — As HEX: color: #C4A7CD; — As RGB: color: rgb(196, 167, 205); — Tailwind CSS: bg-[hsl(286,28%,73%)] — CSS variable: --color-primary: hsl(286, 28%, 73%);