HSL(271, 65%, 72%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(271,65%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(271, 65%, 72%) | color: hsl(271, 65%, 72%) | |
| HEX | #B989E6 | color: #B989E6 | |
| RGB | rgb(185, 137, 230) | color: rgb(185, 137, 230) | |
| CMYK | cmyk(20%, 40%, 0%, 10%) | — | |
| HSV | hsv(271, 40%, 90%) | — | |
| HWB | hwb(271 54% 10%) | color: hwb(271 54% 10%) | |
| OKLCH | oklch(0.7118 0.1401 306.93) | color: oklch(0.7118 0.1401 306.93) | |
| Lab | lab(64.9 35.83 -40.32) | color: lab(64.9 35.83 -40.32) | |
| LCH | lch(64.9 53.94 311.63) | color: lch(64.9 53.94 311.63) |
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)
#A4A4CF — rgb(164, 164, 207)
Deuteranopia (Green-blind)
#A7ABCA — rgb(167, 171, 202)
Tritanopia (Blue-blind)
#B7BEBA — rgb(183, 190, 186)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(271, 65%, 72%);
text
color: hsl(271, 65%, 72%);
border
border: 2px solid hsl(271, 65%, 72%);
gradient light
background: linear-gradient(to right, hsl(271, 65%, 92%), hsl(271, 65%, 72%));
gradient dark
background: linear-gradient(to right, hsl(271, 65%, 72%), hsl(271, 65%, 52%))
hex
background-color: #B989E6;
tailwind
bg-[hsl(271,65%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(271, 65%, 72%, 0.4);
css variable
--color-primary: hsl(271, 65%, 72%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(271, 65%, 72%)?
HEX: #B989E6 | RGB: rgb(185, 137, 230) | CMYK: 20%, 40%, 0%, 10% | HSV: 271°, 40%, 90%. Copy any format from the conversion table above.
What colors go well with #B989E6?
The complementary color is HSL(91, 65%, 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, 65%, 72%) in CSS?
As HSL: color: hsl(271, 65%, 72%); — As HEX: color: #B989E6; — As RGB: color: rgb(185, 137, 230); — Tailwind CSS: bg-[hsl(271,65%,72%)] — CSS variable: --color-primary: hsl(271, 65%, 72%);