HSL(278, 97%, 83%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,97%,83%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 97%, 83%) | color: hsl(278, 97%, 83%) | |
| HEX | #DFAAFE | color: #DFAAFE | |
| RGB | rgb(223, 170, 254) | color: rgb(223, 170, 254) | |
| CMYK | cmyk(12%, 33%, 0%, 0%) | — | |
| HSV | hsv(278, 33%, 100%) | — | |
| HWB | hwb(278 67% 0%) | color: hwb(278 67% 0%) | |
| OKLCH | oklch(0.8156 0.1276 312.51) | color: oklch(0.8156 0.1276 312.51) | |
| Lab | lab(77.04 34.22 -34.26) | color: lab(77.04 34.22 -34.26) | |
| LCH | lch(77.04 48.42 314.97) | color: lch(77.04 48.42 314.97) |
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)
#C8C8EA — rgb(200, 200, 234)
Deuteranopia (Green-blind)
#CBCFE5 — rgb(203, 207, 229)
Tritanopia (Blue-blind)
#DCDAD6 — rgb(220, 218, 214)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 97%, 83%);
text
color: hsl(278, 97%, 83%);
border
border: 2px solid hsl(278, 97%, 83%);
gradient light
background: linear-gradient(to right, hsl(278, 97%, 100%), hsl(278, 97%, 83%));
gradient dark
background: linear-gradient(to right, hsl(278, 97%, 83%), hsl(278, 97%, 63%))
hex
background-color: #DFAAFE;
tailwind
bg-[hsl(278,97%,83%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 97%, 83%, 0.4);
css variable
--color-primary: hsl(278, 97%, 83%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 97%, 83%)?
HEX: #DFAAFE | RGB: rgb(223, 170, 254) | CMYK: 12%, 33%, 0%, 0% | HSV: 278°, 33%, 100%. Copy any format from the conversion table above.
What colors go well with #DFAAFE?
The complementary color is HSL(98, 97%, 83%). 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, 97%, 83%) in CSS?
As HSL: color: hsl(278, 97%, 83%); — As HEX: color: #DFAAFE; — As RGB: color: rgb(223, 170, 254); — Tailwind CSS: bg-[hsl(278,97%,83%)] — CSS variable: --color-primary: hsl(278, 97%, 83%);