HSL(285, 50%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(285,50%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(285, 50%, 76%) | color: hsl(285, 50%, 76%) | |
| HEX | #D1A3E0 | color: #D1A3E0 | |
| RGB | rgb(209, 163, 224) | color: rgb(209, 163, 224) | |
| CMYK | cmyk(7%, 27%, 0%, 12%) | — | |
| HSV | hsv(285, 27%, 88%) | — | |
| HWB | hwb(285 64% 12%) | color: hwb(285 64% 12%) | |
| OKLCH | oklch(0.7779 0.0983 317.7) | color: oklch(0.7779 0.0983 317.7) | |
| Lab | lab(72.98 27.61 -24.34) | color: lab(72.98 27.61 -24.34) | |
| LCH | lch(72.98 36.81 318.6) | color: lch(72.98 36.81 318.6) |
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)
#BDBDD1 — rgb(189, 189, 209)
Deuteranopia (Green-blind)
#C0C3CE — rgb(192, 195, 206)
Tritanopia (Blue-blind)
#CFC6C3 — rgb(207, 198, 195)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(285, 50%, 76%);
text
color: hsl(285, 50%, 76%);
border
border: 2px solid hsl(285, 50%, 76%);
gradient light
background: linear-gradient(to right, hsl(285, 50%, 96%), hsl(285, 50%, 76%));
gradient dark
background: linear-gradient(to right, hsl(285, 50%, 76%), hsl(285, 50%, 56%))
hex
background-color: #D1A3E0;
tailwind
bg-[hsl(285,50%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(285, 50%, 76%, 0.4);
css variable
--color-primary: hsl(285, 50%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(285, 50%, 76%)?
HEX: #D1A3E0 | RGB: rgb(209, 163, 224) | CMYK: 7%, 27%, 0%, 12% | HSV: 285°, 27%, 88%. Copy any format from the conversion table above.
What colors go well with #D1A3E0?
The complementary color is HSL(105, 50%, 76%). For a triadic harmony, use hues 285°, 45°, and 165°. For analogous combinations, try hues 255° and 315°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(285, 50%, 76%) in CSS?
As HSL: color: hsl(285, 50%, 76%); — As HEX: color: #D1A3E0; — As RGB: color: rgb(209, 163, 224); — Tailwind CSS: bg-[hsl(285,50%,76%)] — CSS variable: --color-primary: hsl(285, 50%, 76%);