HSL(281, 82%, 80%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,82%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 82%, 80%) | color: hsl(281, 82%, 80%) | |
| HEX | #DBA2F6 | color: #DBA2F6 | |
| RGB | rgb(219, 162, 246) | color: rgb(219, 162, 246) | |
| CMYK | cmyk(11%, 34%, 0%, 4%) | — | |
| HSV | hsv(281, 34%, 96%) | — | |
| HWB | hwb(281 63% 4%) | color: hwb(281 63% 4%) | |
| OKLCH | oklch(0.7948 0.1302 314.5) | color: oklch(0.7948 0.1302 314.5) | |
| Lab | lab(74.54 35.68 -33.82) | color: lab(74.54 35.68 -33.82) | |
| LCH | lch(74.54 49.16 316.53) | color: lch(74.54 49.16 316.53) |
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)
#C2C2E2 — rgb(194, 194, 226)
Deuteranopia (Green-blind)
#C6CADD — rgb(198, 202, 221)
Tritanopia (Blue-blind)
#D8D2CE — rgb(216, 210, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 82%, 80%);
text
color: hsl(281, 82%, 80%);
border
border: 2px solid hsl(281, 82%, 80%);
gradient light
background: linear-gradient(to right, hsl(281, 82%, 100%), hsl(281, 82%, 80%));
gradient dark
background: linear-gradient(to right, hsl(281, 82%, 80%), hsl(281, 82%, 60%))
hex
background-color: #DBA2F6;
tailwind
bg-[hsl(281,82%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 82%, 80%, 0.4);
css variable
--color-primary: hsl(281, 82%, 80%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 82%, 80%)?
HEX: #DBA2F6 | RGB: rgb(219, 162, 246) | CMYK: 11%, 34%, 0%, 4% | HSV: 281°, 34%, 96%. Copy any format from the conversion table above.
What colors go well with #DBA2F6?
The complementary color is HSL(101, 82%, 80%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(281, 82%, 80%) in CSS?
As HSL: color: hsl(281, 82%, 80%); — As HEX: color: #DBA2F6; — As RGB: color: rgb(219, 162, 246); — Tailwind CSS: bg-[hsl(281,82%,80%)] — CSS variable: --color-primary: hsl(281, 82%, 80%);