HSL(278, 80%, 80%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,80%,80%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 80%, 80%) | color: hsl(278, 80%, 80%) | |
| HEX | #D7A3F5 | color: #D7A3F5 | |
| RGB | rgb(215, 163, 245) | color: rgb(215, 163, 245) | |
| CMYK | cmyk(12%, 33%, 0%, 4%) | — | |
| HSV | hsv(278, 33%, 96%) | — | |
| HWB | hwb(278 64% 4%) | color: hwb(278 64% 4%) | |
| OKLCH | oklch(0.7922 0.1255 312.64) | color: oklch(0.7922 0.1255 312.64) | |
| Lab | lab(74.34 33.73 -33.63) | color: lab(74.34 33.73 -33.63) | |
| LCH | lch(74.34 47.63 315.09) | color: lch(74.34 47.63 315.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)
#C0C0E1 — rgb(192, 192, 225)
Deuteranopia (Green-blind)
#C4C7DC — rgb(196, 199, 220)
Tritanopia (Blue-blind)
#D4D1CE — rgb(212, 209, 206)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 80%, 80%);
text
color: hsl(278, 80%, 80%);
border
border: 2px solid hsl(278, 80%, 80%);
gradient light
background: linear-gradient(to right, hsl(278, 80%, 100%), hsl(278, 80%, 80%));
gradient dark
background: linear-gradient(to right, hsl(278, 80%, 80%), hsl(278, 80%, 60%))
hex
background-color: #D7A3F5;
tailwind
bg-[hsl(278,80%,80%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 80%, 80%, 0.4);
css variable
--color-primary: hsl(278, 80%, 80%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 80%, 80%)?
HEX: #D7A3F5 | RGB: rgb(215, 163, 245) | CMYK: 12%, 33%, 0%, 4% | HSV: 278°, 33%, 96%. Copy any format from the conversion table above.
What colors go well with #D7A3F5?
The complementary color is HSL(98, 80%, 80%). For a triadic harmony, use hues 278°, 38°, and 158°. For analogous combinations, try hues 248° and 308°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(278, 80%, 80%) in CSS?
As HSL: color: hsl(278, 80%, 80%); — As HEX: color: #D7A3F5; — As RGB: color: rgb(215, 163, 245); — Tailwind CSS: bg-[hsl(278,80%,80%)] — CSS variable: --color-primary: hsl(278, 80%, 80%);