HSL(282, 85%, 77%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,85%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 85%, 77%) | color: hsl(282, 85%, 77%) | |
| HEX | #D892F6 | color: #D892F6 | |
| RGB | rgb(216, 146, 246) | color: rgb(216, 146, 246) | |
| CMYK | cmyk(12%, 41%, 0%, 4%) | — | |
| HSV | hsv(282, 41%, 96%) | — | |
| HWB | hwb(282 57% 4%) | color: hwb(282 57% 4%) | |
| OKLCH | oklch(0.7653 0.1558 315.22) | color: oklch(0.7653 0.1558 315.22) | |
| Lab | lab(70.74 43.35 -39.75) | color: lab(70.74 43.35 -39.75) | |
| LCH | lch(70.74 58.82 317.48) | color: lch(70.74 58.82 317.48) |
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)
#BAB9DE — rgb(186, 185, 222)
Deuteranopia (Green-blind)
#BEC3D8 — rgb(190, 195, 216)
Tritanopia (Blue-blind)
#D5CBC7 — rgb(213, 203, 199)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 85%, 77%);
text
color: hsl(282, 85%, 77%);
border
border: 2px solid hsl(282, 85%, 77%);
gradient light
background: linear-gradient(to right, hsl(282, 85%, 97%), hsl(282, 85%, 77%));
gradient dark
background: linear-gradient(to right, hsl(282, 85%, 77%), hsl(282, 85%, 57%))
hex
background-color: #D892F6;
tailwind
bg-[hsl(282,85%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 85%, 77%, 0.4);
css variable
--color-primary: hsl(282, 85%, 77%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 85%, 77%)?
HEX: #D892F6 | RGB: rgb(216, 146, 246) | CMYK: 12%, 41%, 0%, 4% | HSV: 282°, 41%, 96%. Copy any format from the conversion table above.
What colors go well with #D892F6?
The complementary color is HSL(102, 85%, 77%). For a triadic harmony, use hues 282°, 42°, and 162°. For analogous combinations, try hues 252° and 312°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(282, 85%, 77%) in CSS?
As HSL: color: hsl(282, 85%, 77%); — As HEX: color: #D892F6; — As RGB: color: rgb(216, 146, 246); — Tailwind CSS: bg-[hsl(282,85%,77%)] — CSS variable: --color-primary: hsl(282, 85%, 77%);