HSL(272, 79%, 84%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(272,79%,84%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(272, 79%, 84%) | color: hsl(272, 79%, 84%) | |
| HEX | #D8B6F6 | color: #D8B6F6 | |
| RGB | rgb(216, 182, 246) | color: rgb(216, 182, 246) | |
| CMYK | cmyk(12%, 26%, 0%, 4%) | — | |
| HSV | hsv(272, 26%, 96%) | — | |
| HWB | hwb(272 71% 4%) | color: hwb(272 71% 4%) | |
| OKLCH | oklch(0.8272 0.0949 308.55) | color: oklch(0.8272 0.0949 308.55) | |
| Lab | lab(78.87 23.94 -27.19) | color: lab(78.87 23.94 -27.19) | |
| LCH | lch(78.87 36.23 311.36) | color: lch(78.87 36.23 311.36) |
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)
#C9C9E7 — rgb(201, 201, 231)
Deuteranopia (Green-blind)
#CBCEE3 — rgb(203, 206, 227)
Tritanopia (Blue-blind)
#D6DAD8 — rgb(214, 218, 216)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(272, 79%, 84%);
text
color: hsl(272, 79%, 84%);
border
border: 2px solid hsl(272, 79%, 84%);
gradient light
background: linear-gradient(to right, hsl(272, 79%, 100%), hsl(272, 79%, 84%));
gradient dark
background: linear-gradient(to right, hsl(272, 79%, 84%), hsl(272, 79%, 64%))
hex
background-color: #D8B6F6;
tailwind
bg-[hsl(272,79%,84%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(272, 79%, 84%, 0.4);
css variable
--color-primary: hsl(272, 79%, 84%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(272, 79%, 84%)?
HEX: #D8B6F6 | RGB: rgb(216, 182, 246) | CMYK: 12%, 26%, 0%, 4% | HSV: 272°, 26%, 96%. Copy any format from the conversion table above.
What colors go well with #D8B6F6?
The complementary color is HSL(92, 79%, 84%). For a triadic harmony, use hues 272°, 32°, and 152°. For analogous combinations, try hues 242° and 302°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(272, 79%, 84%) in CSS?
As HSL: color: hsl(272, 79%, 84%); — As HEX: color: #D8B6F6; — As RGB: color: rgb(216, 182, 246); — Tailwind CSS: bg-[hsl(272,79%,84%)] — CSS variable: --color-primary: hsl(272, 79%, 84%);