HSL(281, 52%, 77%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(281,52%,77%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(281, 52%, 77%) | color: hsl(281, 52%, 77%) | |
| HEX | #D0A6E3 | color: #D0A6E3 | |
| RGB | rgb(208, 166, 227) | color: rgb(208, 166, 227) | |
| CMYK | cmyk(8%, 27%, 0%, 11%) | — | |
| HSV | hsv(281, 27%, 89%) | — | |
| HWB | hwb(281 65% 11%) | color: hwb(281 65% 11%) | |
| OKLCH | oklch(0.7835 0.096 315.11) | color: oklch(0.7835 0.096 315.11) | |
| Lab | lab(73.69 26.25 -24.89) | color: lab(73.69 26.25 -24.89) | |
| LCH | lch(73.69 36.17 316.52) | color: lch(73.69 36.17 316.52) |
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)
#BEBDD4 — rgb(190, 189, 212)
Deuteranopia (Green-blind)
#C0C3D1 — rgb(192, 195, 209)
Tritanopia (Blue-blind)
#CEC9C6 — rgb(206, 201, 198)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(281, 52%, 77%);
text
color: hsl(281, 52%, 77%);
border
border: 2px solid hsl(281, 52%, 77%);
gradient light
background: linear-gradient(to right, hsl(281, 52%, 97%), hsl(281, 52%, 77%));
gradient dark
background: linear-gradient(to right, hsl(281, 52%, 77%), hsl(281, 52%, 57%))
hex
background-color: #D0A6E3;
tailwind
bg-[hsl(281,52%,77%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(281, 52%, 77%, 0.4);
css variable
--color-primary: hsl(281, 52%, 77%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(281, 52%, 77%)?
HEX: #D0A6E3 | RGB: rgb(208, 166, 227) | CMYK: 8%, 27%, 0%, 11% | HSV: 281°, 27%, 89%. Copy any format from the conversion table above.
What colors go well with #D0A6E3?
The complementary color is HSL(101, 52%, 77%). For a triadic harmony, use hues 281°, 41°, and 161°. For analogous combinations, try hues 251° and 311°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(281, 52%, 77%) in CSS?
As HSL: color: hsl(281, 52%, 77%); — As HEX: color: #D0A6E3; — As RGB: color: rgb(208, 166, 227); — Tailwind CSS: bg-[hsl(281,52%,77%)] — CSS variable: --color-primary: hsl(281, 52%, 77%);