HSL(276, 40%, 68%)
Indigo — Indigo color
Adjust Color
Color Information
Color Name
Indigo
Color Family
Indigo
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(276,40%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(276, 40%, 68%) | color: hsl(276, 40%, 68%) | |
| HEX | #B48DCE | color: #B48DCE | |
| RGB | rgb(180, 141, 206) | color: rgb(180, 141, 206) | |
| CMYK | cmyk(13%, 32%, 0%, 19%) | — | |
| HSV | hsv(276, 32%, 81%) | — | |
| HWB | hwb(276 55% 19%) | color: hwb(276 55% 19%) | |
| OKLCH | oklch(0.7031 0.1018 311.26) | color: oklch(0.7031 0.1018 311.26) | |
| Lab | lab(64.33 26.83 -27.9) | color: lab(64.33 26.83 -27.9) | |
| LCH | lch(64.33 38.71 313.88) | color: lch(64.33 38.71 313.88) |
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)
#A3A3BE — rgb(163, 163, 190)
Deuteranopia (Green-blind)
#A5A8BB — rgb(165, 168, 187)
Tritanopia (Blue-blind)
#B2B2AF — rgb(178, 178, 175)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(276, 40%, 68%);
text
color: hsl(276, 40%, 68%);
border
border: 2px solid hsl(276, 40%, 68%);
gradient light
background: linear-gradient(to right, hsl(276, 40%, 88%), hsl(276, 40%, 68%));
gradient dark
background: linear-gradient(to right, hsl(276, 40%, 68%), hsl(276, 40%, 48%))
hex
background-color: #B48DCE;
tailwind
bg-[hsl(276,40%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(276, 40%, 68%, 0.4);
css variable
--color-primary: hsl(276, 40%, 68%);
Related Colors
Use Cases for Indigo
Frequently Asked Questions
What are all the color codes for HSL(276, 40%, 68%)?
HEX: #B48DCE | RGB: rgb(180, 141, 206) | CMYK: 13%, 32%, 0%, 19% | HSV: 276°, 32%, 81%. Copy any format from the conversion table above.
What colors go well with #B48DCE?
The complementary color is HSL(96, 40%, 68%). For a triadic harmony, use hues 276°, 36°, and 156°. For analogous combinations, try hues 246° and 306°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(276, 40%, 68%) in CSS?
As HSL: color: hsl(276, 40%, 68%); — As HEX: color: #B48DCE; — As RGB: color: rgb(180, 141, 206); — Tailwind CSS: bg-[hsl(276,40%,68%)] — CSS variable: --color-primary: hsl(276, 40%, 68%);