HSL(277, 43%, 70%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,43%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 43%, 70%) | color: hsl(277, 43%, 70%) | |
| HEX | #BA92D3 | color: #BA92D3 | |
| RGB | rgb(186, 146, 211) | color: rgb(186, 146, 211) | |
| CMYK | cmyk(12%, 31%, 0%, 17%) | — | |
| HSV | hsv(277, 31%, 83%) | — | |
| HWB | hwb(277 57% 17%) | color: hwb(277 57% 17%) | |
| OKLCH | oklch(0.72 0.1017 311.95) | color: oklch(0.72 0.1017 311.95) | |
| Lab | lab(66.29 27 -27.62) | color: lab(66.29 27 -27.62) | |
| LCH | lch(66.29 38.62 314.35) | color: lch(66.29 38.62 314.35) |
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)
#A9A8C3 — rgb(169, 168, 195)
Deuteranopia (Green-blind)
#ABAEC0 — rgb(171, 174, 192)
Tritanopia (Blue-blind)
#B8B7B4 — rgb(184, 183, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 43%, 70%);
text
color: hsl(277, 43%, 70%);
border
border: 2px solid hsl(277, 43%, 70%);
gradient light
background: linear-gradient(to right, hsl(277, 43%, 90%), hsl(277, 43%, 70%));
gradient dark
background: linear-gradient(to right, hsl(277, 43%, 70%), hsl(277, 43%, 50%))
hex
background-color: #BA92D3;
tailwind
bg-[hsl(277,43%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 43%, 70%, 0.4);
css variable
--color-primary: hsl(277, 43%, 70%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 43%, 70%)?
HEX: #BA92D3 | RGB: rgb(186, 146, 211) | CMYK: 12%, 31%, 0%, 17% | HSV: 277°, 31%, 83%. Copy any format from the conversion table above.
What colors go well with #BA92D3?
The complementary color is HSL(97, 43%, 70%). For a triadic harmony, use hues 277°, 37°, and 157°. For analogous combinations, try hues 247° and 307°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(277, 43%, 70%) in CSS?
As HSL: color: hsl(277, 43%, 70%); — As HEX: color: #BA92D3; — As RGB: color: rgb(186, 146, 211); — Tailwind CSS: bg-[hsl(277,43%,70%)] — CSS variable: --color-primary: hsl(277, 43%, 70%);