HSL(279, 90%, 79%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(279,90%,79%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(279, 90%, 79%) | color: hsl(279, 90%, 79%) | |
| HEX | #D899FA | color: #D899FA | |
| RGB | rgb(216, 153, 250) | color: rgb(216, 153, 250) | |
| CMYK | cmyk(14%, 39%, 0%, 2%) | — | |
| HSV | hsv(279, 39%, 98%) | — | |
| HWB | hwb(279 60% 2%) | color: hwb(279 60% 2%) | |
| OKLCH | oklch(0.7785 0.1486 313.08) | color: oklch(0.7785 0.1486 313.08) | |
| Lab | lab(72.42 40.44 -39.31) | color: lab(72.42 40.44 -39.31) | |
| LCH | lch(72.42 56.4 315.81) | color: lch(72.42 56.4 315.81) |
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)
#BDBCE3 — rgb(189, 188, 227)
Deuteranopia (Green-blind)
#C0C5DD — rgb(192, 197, 221)
Tritanopia (Blue-blind)
#D5D0CC — rgb(213, 208, 204)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(279, 90%, 79%);
text
color: hsl(279, 90%, 79%);
border
border: 2px solid hsl(279, 90%, 79%);
gradient light
background: linear-gradient(to right, hsl(279, 90%, 99%), hsl(279, 90%, 79%));
gradient dark
background: linear-gradient(to right, hsl(279, 90%, 79%), hsl(279, 90%, 59%))
hex
background-color: #D899FA;
tailwind
bg-[hsl(279,90%,79%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(279, 90%, 79%, 0.4);
css variable
--color-primary: hsl(279, 90%, 79%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(279, 90%, 79%)?
HEX: #D899FA | RGB: rgb(216, 153, 250) | CMYK: 14%, 39%, 0%, 2% | HSV: 279°, 39%, 98%. Copy any format from the conversion table above.
What colors go well with #D899FA?
The complementary color is HSL(99, 90%, 79%). For a triadic harmony, use hues 279°, 39°, and 159°. For analogous combinations, try hues 249° and 309°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(279, 90%, 79%) in CSS?
As HSL: color: hsl(279, 90%, 79%); — As HEX: color: #D899FA; — As RGB: color: rgb(216, 153, 250); — Tailwind CSS: bg-[hsl(279,90%,79%)] — CSS variable: --color-primary: hsl(279, 90%, 79%);