HSL(274, 50%, 84%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(274,50%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(274, 50%, 84%) | color: hsl(274, 50%, 84%) | |
| HEX | #D9C2EB | color: #D9C2EB | |
| RGB | rgb(217, 194, 235) | color: rgb(217, 194, 235) | |
| CMYK | cmyk(8%, 17%, 0%, 8%) | — | |
| HSV | hsv(274, 17%, 92%) | — | |
| HWB | hwb(274 76% 8%) | color: hwb(274 76% 8%) | |
| OKLCH | oklch(0.8462 0.0613 310.22) | color: oklch(0.8462 0.0613 310.22) | |
| Lab | lab(81.47 15.57 -17.33) | color: lab(81.47 15.57 -17.33) | |
| LCH | lch(81.47 23.3 311.94) | color: lch(81.47 23.3 311.94) |
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)
#CFCFE1 — rgb(207, 207, 225)
Deuteranopia (Green-blind)
#D0D2DF — rgb(208, 210, 223)
Tritanopia (Blue-blind)
#D8D9D8 — rgb(216, 217, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(274, 50%, 84%);
text
color: hsl(274, 50%, 84%);
border
border: 2px solid hsl(274, 50%, 84%);
gradient light
background: linear-gradient(to right, hsl(274, 50%, 100%), hsl(274, 50%, 84%));
gradient dark
background: linear-gradient(to right, hsl(274, 50%, 84%), hsl(274, 50%, 64%))
hex
background-color: #D9C2EB;
tailwind
bg-[hsl(274,50%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(274, 50%, 84%, 0.4);
css variable
--color-primary: hsl(274, 50%, 84%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(274, 50%, 84%)?
HEX: #D9C2EB | RGB: rgb(217, 194, 235) | CMYK: 8%, 17%, 0%, 8% | HSV: 274°, 17%, 92%. Copy any format from the conversion table above.
What colors go well with #D9C2EB?
The complementary color is HSL(94, 50%, 84%). For a triadic harmony, use hues 274°, 34°, and 154°. For analogous combinations, try hues 244° and 304°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(274, 50%, 84%) in CSS?
As HSL: color: hsl(274, 50%, 84%); — As HEX: color: #D9C2EB; — As RGB: color: rgb(217, 194, 235); — Tailwind CSS: bg-[hsl(274,50%,84%)] — CSS variable: --color-primary: hsl(274, 50%, 84%);