HSL(271, 77%, 72%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(271,77%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(271, 77%, 72%) | color: hsl(271, 77%, 72%) | |
| HEX | #B981EF | color: #B981EF | |
| RGB | rgb(185, 129, 239) | color: rgb(185, 129, 239) | |
| CMYK | cmyk(23%, 46%, 0%, 6%) | — | |
| HSV | hsv(271, 46%, 94%) | — | |
| HWB | hwb(271 51% 6%) | color: hwb(271 51% 6%) | |
| OKLCH | oklch(0.7031 0.164 306.11) | color: oklch(0.7031 0.164 306.11) | |
| Lab | lab(63.55 42.25 -47.42) | color: lab(63.55 42.25 -47.42) | |
| LCH | lch(63.55 63.51 311.7) | color: lch(63.55 63.51 311.7) |
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)
#A1A0D4 — rgb(161, 160, 212)
Deuteranopia (Green-blind)
#A4A8CE — rgb(164, 168, 206)
Tritanopia (Blue-blind)
#B6BFBB — rgb(182, 191, 187)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(271, 77%, 72%);
text
color: hsl(271, 77%, 72%);
border
border: 2px solid hsl(271, 77%, 72%);
gradient light
background: linear-gradient(to right, hsl(271, 77%, 92%), hsl(271, 77%, 72%));
gradient dark
background: linear-gradient(to right, hsl(271, 77%, 72%), hsl(271, 77%, 52%))
hex
background-color: #B981EF;
tailwind
bg-[hsl(271,77%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(271, 77%, 72%, 0.4);
css variable
--color-primary: hsl(271, 77%, 72%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(271, 77%, 72%)?
HEX: #B981EF | RGB: rgb(185, 129, 239) | CMYK: 23%, 46%, 0%, 6% | HSV: 271°, 46%, 94%. Copy any format from the conversion table above.
What colors go well with #B981EF?
The complementary color is HSL(91, 77%, 72%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(271, 77%, 72%) in CSS?
As HSL: color: hsl(271, 77%, 72%); — As HEX: color: #B981EF; — As RGB: color: rgb(185, 129, 239); — Tailwind CSS: bg-[hsl(271,77%,72%)] — CSS variable: --color-primary: hsl(271, 77%, 72%);