HSL(270, 40%, 73%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(270,40%,73%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(270, 40%, 73%) | color: hsl(270, 40%, 73%) | |
| HEX | #BA9FD6 | color: #BA9FD6 | |
| RGB | rgb(186, 159, 214) | color: rgb(186, 159, 214) | |
| CMYK | cmyk(13%, 26%, 0%, 16%) | — | |
| HSV | hsv(269, 26%, 84%) | — | |
| HWB | hwb(269 62% 16%) | color: hwb(269 62% 16%) | |
| OKLCH | oklch(0.7453 0.0829 306.82) | color: oklch(0.7453 0.0829 306.82) | |
| Lab | lab(69.53 20.39 -24.3) | color: lab(69.53 20.39 -24.3) | |
| LCH | lch(69.53 31.72 310) | color: lch(69.53 31.72 310) |
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)
#AEAEC9 — rgb(174, 174, 201)
Deuteranopia (Green-blind)
#B0B2C6 — rgb(176, 178, 198)
Tritanopia (Blue-blind)
#B9BEBC — rgb(185, 190, 188)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(270, 40%, 73%);
text
color: hsl(270, 40%, 73%);
border
border: 2px solid hsl(270, 40%, 73%);
gradient light
background: linear-gradient(to right, hsl(270, 40%, 93%), hsl(270, 40%, 73%));
gradient dark
background: linear-gradient(to right, hsl(270, 40%, 73%), hsl(270, 40%, 53%))
hex
background-color: #BA9FD6;
tailwind
bg-[hsl(270,40%,73%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(270, 40%, 73%, 0.4);
css variable
--color-primary: hsl(270, 40%, 73%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(270, 40%, 73%)?
HEX: #BA9FD6 | RGB: rgb(186, 159, 214) | CMYK: 13%, 26%, 0%, 16% | HSV: 269°, 26%, 84%. Copy any format from the conversion table above.
What colors go well with #BA9FD6?
The complementary color is HSL(90, 40%, 73%). For a triadic harmony, use hues 270°, 30°, and 150°. For analogous combinations, try hues 240° and 300°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(270, 40%, 73%) in CSS?
As HSL: color: hsl(270, 40%, 73%); — As HEX: color: #BA9FD6; — As RGB: color: rgb(186, 159, 214); — Tailwind CSS: bg-[hsl(270,40%,73%)] — CSS variable: --color-primary: hsl(270, 40%, 73%);