HSL(286, 48%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(286,48%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(286, 48%, 76%) | color: hsl(286, 48%, 76%) | |
| HEX | #D1A4DF | color: #D1A4DF | |
| RGB | rgb(209, 164, 223) | color: rgb(209, 164, 223) | |
| CMYK | cmyk(6%, 26%, 0%, 13%) | — | |
| HSV | hsv(286, 26%, 87%) | — | |
| HWB | hwb(286 64% 13%) | color: hwb(286 64% 13%) | |
| OKLCH | oklch(0.7793 0.0954 318.04) | color: oklch(0.7793 0.0954 318.04) | |
| Lab | lab(73.18 26.87 -23.49) | color: lab(73.18 26.87 -23.49) | |
| LCH | lch(73.18 35.69 318.84) | color: lch(73.18 35.69 318.84) |
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)
#BEBDD1 — rgb(190, 189, 209)
Deuteranopia (Green-blind)
#C0C4CD — rgb(192, 196, 205)
Tritanopia (Blue-blind)
#CFC5C3 — rgb(207, 197, 195)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(286, 48%, 76%);
text
color: hsl(286, 48%, 76%);
border
border: 2px solid hsl(286, 48%, 76%);
gradient light
background: linear-gradient(to right, hsl(286, 48%, 96%), hsl(286, 48%, 76%));
gradient dark
background: linear-gradient(to right, hsl(286, 48%, 76%), hsl(286, 48%, 56%))
hex
background-color: #D1A4DF;
tailwind
bg-[hsl(286,48%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(286, 48%, 76%, 0.4);
css variable
--color-primary: hsl(286, 48%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(286, 48%, 76%)?
HEX: #D1A4DF | RGB: rgb(209, 164, 223) | CMYK: 6%, 26%, 0%, 13% | HSV: 286°, 26%, 87%. Copy any format from the conversion table above.
What colors go well with #D1A4DF?
The complementary color is HSL(106, 48%, 76%). 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, 48%, 76%) in CSS?
As HSL: color: hsl(286, 48%, 76%); — As HEX: color: #D1A4DF; — As RGB: color: rgb(209, 164, 223); — Tailwind CSS: bg-[hsl(286,48%,76%)] — CSS variable: --color-primary: hsl(286, 48%, 76%);