HSL(277, 50%, 70%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(277,50%,70%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(277, 50%, 70%) | color: hsl(277, 50%, 70%) | |
| HEX | #BB8CD9 | color: #BB8CD9 | |
| RGB | rgb(187, 140, 217) | color: rgb(187, 140, 217) | |
| CMYK | cmyk(14%, 35%, 0%, 15%) | — | |
| HSV | hsv(277, 35%, 85%) | — | |
| HWB | hwb(277 55% 15%) | color: hwb(277 55% 15%) | |
| OKLCH | oklch(0.7129 0.1199 311.53) | color: oklch(0.7129 0.1199 311.53) | |
| Lab | lab(65.22 31.92 -32.59) | color: lab(65.22 31.92 -32.59) | |
| LCH | lch(65.22 45.62 314.4) | color: lch(65.22 45.62 314.4) |
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)
#A7A6C6 — rgb(167, 166, 198)
Deuteranopia (Green-blind)
#A9ADC2 — rgb(169, 173, 194)
Tritanopia (Blue-blind)
#B9B8B4 — rgb(185, 184, 180)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(277, 50%, 70%);
text
color: hsl(277, 50%, 70%);
border
border: 2px solid hsl(277, 50%, 70%);
gradient light
background: linear-gradient(to right, hsl(277, 50%, 90%), hsl(277, 50%, 70%));
gradient dark
background: linear-gradient(to right, hsl(277, 50%, 70%), hsl(277, 50%, 50%))
hex
background-color: #BB8CD9;
tailwind
bg-[hsl(277,50%,70%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(277, 50%, 70%, 0.4);
css variable
--color-primary: hsl(277, 50%, 70%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(277, 50%, 70%)?
HEX: #BB8CD9 | RGB: rgb(187, 140, 217) | CMYK: 14%, 35%, 0%, 15% | HSV: 277°, 35%, 85%. Copy any format from the conversion table above.
What colors go well with #BB8CD9?
The complementary color is HSL(97, 50%, 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, 50%, 70%) in CSS?
As HSL: color: hsl(277, 50%, 70%); — As HEX: color: #BB8CD9; — As RGB: color: rgb(187, 140, 217); — Tailwind CSS: bg-[hsl(277,50%,70%)] — CSS variable: --color-primary: hsl(277, 50%, 70%);