HSL(277, 66%, 79%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,66%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 66%, 79%) | color: hsl(277, 66%, 79%) | |
| HEX | #D2A6ED | color: #D2A6ED | |
| RGB | rgb(210, 166, 237) | color: rgb(210, 166, 237) | |
| CMYK | cmyk(11%, 30%, 0%, 7%) | — | |
| HSV | hsv(277, 30%, 93%) | — | |
| HWB | hwb(277 65% 7%) | color: hwb(277 65% 7%) | |
| OKLCH | oklch(0.7894 0.1088 312.16) | color: oklch(0.7894 0.1088 312.16) | |
| Lab | lab(74.25 28.92 -29.47) | color: lab(74.25 28.92 -29.47) | |
| LCH | lch(74.25 41.29 314.46) | color: lch(74.25 41.29 314.46) |
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)
#BFBFDC — rgb(191, 191, 220)
Deuteranopia (Green-blind)
#C2C5D8 — rgb(194, 197, 216)
Tritanopia (Blue-blind)
#D0CECB — rgb(208, 206, 203)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 66%, 79%);
text
color: hsl(277, 66%, 79%);
border
border: 2px solid hsl(277, 66%, 79%);
gradient light
background: linear-gradient(to right, hsl(277, 66%, 99%), hsl(277, 66%, 79%));
gradient dark
background: linear-gradient(to right, hsl(277, 66%, 79%), hsl(277, 66%, 59%))
hex
background-color: #D2A6ED;
tailwind
bg-[hsl(277,66%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 66%, 79%, 0.4);
css variable
--color-primary: hsl(277, 66%, 79%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 66%, 79%)?
HEX: #D2A6ED | RGB: rgb(210, 166, 237) | CMYK: 11%, 30%, 0%, 7% | HSV: 277°, 30%, 93%. Copy any format from the conversion table above.
What colors go well with #D2A6ED?
The complementary color is HSL(97, 66%, 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, 66%, 79%) in CSS?
As HSL: color: hsl(277, 66%, 79%); — As HEX: color: #D2A6ED; — As RGB: color: rgb(210, 166, 237); — Tailwind CSS: bg-[hsl(277,66%,79%)] — CSS variable: --color-primary: hsl(277, 66%, 79%);