HSL(262, 80%, 85%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(262,80%,85%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(262, 80%, 85%) | color: hsl(262, 80%, 85%) | |
| HEX | #D1BAF7 | color: #D1BAF7 | |
| RGB | rgb(209, 186, 247) | color: rgb(209, 186, 247) | |
| CMYK | cmyk(15%, 25%, 0%, 3%) | — | |
| HSV | hsv(263, 25%, 97%) | — | |
| HWB | hwb(263 73% 3%) | color: hwb(263 73% 3%) | |
| OKLCH | oklch(0.8289 0.0874 301.77) | color: oklch(0.8289 0.0874 301.77) | |
| Lab | lab(79.26 19.81 -27.18) | color: lab(79.26 19.81 -27.18) | |
| LCH | lch(79.26 33.63 306.09) | color: lch(79.26 33.63 306.09) |
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)
#C7C7E8 — rgb(199, 199, 232)
Deuteranopia (Green-blind)
#C8CAE5 — rgb(200, 202, 229)
Tritanopia (Blue-blind)
#D0DDDA — rgb(208, 221, 218)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(262, 80%, 85%);
text
color: hsl(262, 80%, 85%);
border
border: 2px solid hsl(262, 80%, 85%);
gradient light
background: linear-gradient(to right, hsl(262, 80%, 100%), hsl(262, 80%, 85%));
gradient dark
background: linear-gradient(to right, hsl(262, 80%, 85%), hsl(262, 80%, 65%))
hex
background-color: #D1BAF7;
tailwind
bg-[hsl(262,80%,85%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(262, 80%, 85%, 0.4);
css variable
--color-primary: hsl(262, 80%, 85%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(262, 80%, 85%)?
HEX: #D1BAF7 | RGB: rgb(209, 186, 247) | CMYK: 15%, 25%, 0%, 3% | HSV: 263°, 25%, 97%. Copy any format from the conversion table above.
What colors go well with #D1BAF7?
The complementary color is HSL(82, 80%, 85%). For a triadic harmony, use hues 262°, 22°, and 142°. For analogous combinations, try hues 232° and 292°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(262, 80%, 85%) in CSS?
As HSL: color: hsl(262, 80%, 85%); — As HEX: color: #D1BAF7; — As RGB: color: rgb(209, 186, 247); — Tailwind CSS: bg-[hsl(262,80%,85%)] — CSS variable: --color-primary: hsl(262, 80%, 85%);