HSL(277, 86%, 79%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,86%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 86%, 79%) | color: hsl(277, 86%, 79%) | |
| HEX | #D49BF8 | color: #D49BF8 | |
| RGB | rgb(212, 155, 248) | color: rgb(212, 155, 248) | |
| CMYK | cmyk(15%, 38%, 0%, 3%) | — | |
| HSV | hsv(277, 38%, 97%) | — | |
| HWB | hwb(277 60% 3%) | color: hwb(277 60% 3%) | |
| OKLCH | oklch(0.777 0.1413 311.53) | color: oklch(0.777 0.1413 311.53) | |
| Lab | lab(72.37 37.78 -38.33) | color: lab(72.37 37.78 -38.33) | |
| LCH | lch(72.37 53.82 314.59) | color: lch(72.37 53.82 314.59) |
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)
#BBBBE1 — rgb(187, 187, 225)
Deuteranopia (Green-blind)
#BFC3DC — rgb(191, 195, 220)
Tritanopia (Blue-blind)
#D1D0CC — rgb(209, 208, 204)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 86%, 79%);
text
color: hsl(277, 86%, 79%);
border
border: 2px solid hsl(277, 86%, 79%);
gradient light
background: linear-gradient(to right, hsl(277, 86%, 99%), hsl(277, 86%, 79%));
gradient dark
background: linear-gradient(to right, hsl(277, 86%, 79%), hsl(277, 86%, 59%))
hex
background-color: #D49BF8;
tailwind
bg-[hsl(277,86%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 86%, 79%, 0.4);
css variable
--color-primary: hsl(277, 86%, 79%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 86%, 79%)?
HEX: #D49BF8 | RGB: rgb(212, 155, 248) | CMYK: 15%, 38%, 0%, 3% | HSV: 277°, 38%, 97%. Copy any format from the conversion table above.
What colors go well with #D49BF8?
The complementary color is HSL(97, 86%, 79%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(277, 86%, 79%) in CSS?
As HSL: color: hsl(277, 86%, 79%); — As HEX: color: #D49BF8; — As RGB: color: rgb(212, 155, 248); — Tailwind CSS: bg-[hsl(277,86%,79%)] — CSS variable: --color-primary: hsl(277, 86%, 79%);