HSL(282, 91%, 78%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(282,91%,78%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(282, 91%, 78%) | color: hsl(282, 91%, 78%) | |
| HEX | #DB94FA | color: #DB94FA | |
| RGB | rgb(219, 148, 250) | color: rgb(219, 148, 250) | |
| CMYK | cmyk(12%, 41%, 0%, 2%) | — | |
| HSV | hsv(282, 41%, 98%) | — | |
| HWB | hwb(282 58% 2%) | color: hwb(282 58% 2%) | |
| OKLCH | oklch(0.7735 0.1582 315.04) | color: oklch(0.7735 0.1582 315.04) | |
| Lab | lab(71.65 43.97 -40.48) | color: lab(71.65 43.97 -40.48) | |
| LCH | lch(71.65 59.77 317.37) | color: lch(71.65 59.77 317.37) |
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)
#BCBCE1 — rgb(188, 188, 225)
Deuteranopia (Green-blind)
#C0C6DB — rgb(192, 198, 219)
Tritanopia (Blue-blind)
#D7CECA — rgb(215, 206, 202)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(282, 91%, 78%);
text
color: hsl(282, 91%, 78%);
border
border: 2px solid hsl(282, 91%, 78%);
gradient light
background: linear-gradient(to right, hsl(282, 91%, 98%), hsl(282, 91%, 78%));
gradient dark
background: linear-gradient(to right, hsl(282, 91%, 78%), hsl(282, 91%, 58%))
hex
background-color: #DB94FA;
tailwind
bg-[hsl(282,91%,78%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(282, 91%, 78%, 0.4);
css variable
--color-primary: hsl(282, 91%, 78%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(282, 91%, 78%)?
HEX: #DB94FA | RGB: rgb(219, 148, 250) | CMYK: 12%, 41%, 0%, 2% | HSV: 282°, 41%, 98%. Copy any format from the conversion table above.
What colors go well with #DB94FA?
The complementary color is HSL(102, 91%, 78%). 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, 91%, 78%) in CSS?
As HSL: color: hsl(282, 91%, 78%); — As HEX: color: #DB94FA; — As RGB: color: rgb(219, 148, 250); — Tailwind CSS: bg-[hsl(282,91%,78%)] — CSS variable: --color-primary: hsl(282, 91%, 78%);