HSL(268, 20%, 71%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
9000K
CSS Class
bg-[hsl(268,20%,71%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(268, 20%, 71%) | color: hsl(268, 20%, 71%) | |
| HEX | #B4A6C4 | color: #B4A6C4 | |
| RGB | rgb(180, 166, 196) | color: rgb(180, 166, 196) | |
| CMYK | cmyk(8%, 15%, 0%, 23%) | — | |
| HSV | hsv(268, 15%, 77%) | — | |
| HWB | hwb(268 65% 23%) | color: hwb(268 65% 23%) | |
| OKLCH | oklch(0.7467 0.0452 306.37) | color: oklch(0.7467 0.0452 306.37) | |
| Lab | lab(70.15 10.77 -13.49) | color: lab(70.15 10.77 -13.49) | |
| LCH | lch(70.15 17.26 308.6) | color: lch(70.15 17.26 308.6) |
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)
#AEAEBD — rgb(174, 174, 189)
Deuteranopia (Green-blind)
#AFB0BB — rgb(175, 176, 187)
Tritanopia (Blue-blind)
#B3B7B6 — rgb(179, 183, 182)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(268, 20%, 71%);
text
color: hsl(268, 20%, 71%);
border
border: 2px solid hsl(268, 20%, 71%);
gradient light
background: linear-gradient(to right, hsl(268, 20%, 91%), hsl(268, 20%, 71%));
gradient dark
background: linear-gradient(to right, hsl(268, 20%, 71%), hsl(268, 20%, 51%))
hex
background-color: #B4A6C4;
tailwind
bg-[hsl(268,20%,71%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(268, 20%, 71%, 0.4);
css variable
--color-primary: hsl(268, 20%, 71%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(268, 20%, 71%)?
HEX: #B4A6C4 | RGB: rgb(180, 166, 196) | CMYK: 8%, 15%, 0%, 23% | HSV: 268°, 15%, 77%. Copy any format from the conversion table above.
What colors go well with #B4A6C4?
The complementary color is HSL(88, 20%, 71%). For a triadic harmony, use hues 268°, 28°, and 148°. For analogous combinations, try hues 238° and 298°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(268, 20%, 71%) in CSS?
As HSL: color: hsl(268, 20%, 71%); — As HEX: color: #B4A6C4; — As RGB: color: rgb(180, 166, 196); — Tailwind CSS: bg-[hsl(268,20%,71%)] — CSS variable: --color-primary: hsl(268, 20%, 71%);