HSL(278, 50%, 81%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(278,50%,81%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(278, 50%, 81%) | color: hsl(278, 50%, 81%) | |
| HEX | #D5B6E7 | color: #D5B6E7 | |
| RGB | rgb(213, 182, 231) | color: rgb(213, 182, 231) | |
| CMYK | cmyk(8%, 21%, 0%, 9%) | — | |
| HSV | hsv(278, 21%, 91%) | — | |
| HWB | hwb(278 72% 9%) | color: hwb(278 72% 9%) | |
| OKLCH | oklch(0.8189 0.0753 313.01) | color: oklch(0.8189 0.0753 313.01) | |
| Lab | lab(78.09 19.95 -20.32) | color: lab(78.09 19.95 -20.32) | |
| LCH | lch(78.09 28.48 314.47) | color: lch(78.09 28.48 314.47) |
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)
#C8C7DB — rgb(200, 199, 219)
Deuteranopia (Green-blind)
#C9CCD8 — rgb(201, 204, 216)
Tritanopia (Blue-blind)
#D3D2D0 — rgb(211, 210, 208)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(278, 50%, 81%);
text
color: hsl(278, 50%, 81%);
border
border: 2px solid hsl(278, 50%, 81%);
gradient light
background: linear-gradient(to right, hsl(278, 50%, 100%), hsl(278, 50%, 81%));
gradient dark
background: linear-gradient(to right, hsl(278, 50%, 81%), hsl(278, 50%, 61%))
hex
background-color: #D5B6E7;
tailwind
bg-[hsl(278,50%,81%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(278, 50%, 81%, 0.4);
css variable
--color-primary: hsl(278, 50%, 81%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(278, 50%, 81%)?
HEX: #D5B6E7 | RGB: rgb(213, 182, 231) | CMYK: 8%, 21%, 0%, 9% | HSV: 278°, 21%, 91%. Copy any format from the conversion table above.
What colors go well with #D5B6E7?
The complementary color is HSL(98, 50%, 81%). 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, 50%, 81%) in CSS?
As HSL: color: hsl(278, 50%, 81%); — As HEX: color: #D5B6E7; — As RGB: color: rgb(213, 182, 231); — Tailwind CSS: bg-[hsl(278,50%,81%)] — CSS variable: --color-primary: hsl(278, 50%, 81%);