HSL(277, 40%, 75%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(277,40%,75%)]

Color Conversions

Format Value CSS Usage
HSL hsl(277, 40%, 75%) color: hsl(277, 40%, 75%)
HEX #C5A6D9 color: #C5A6D9
RGB rgb(197, 166, 217) color: rgb(197, 166, 217)
CMYK cmyk(9%, 24%, 0%, 15%)
HSV hsv(276, 24%, 85%)
HWB hwb(276 65% 15%) color: hwb(276 65% 15%)
OKLCH oklch(0.7695 0.0789 311.92) color: oklch(0.7695 0.0789 311.92)
Lab lab(72.33 20.69 -21.6) color: lab(72.33 20.69 -21.6)
LCH lch(72.33 29.91 313.77) color: lch(72.33 29.91 313.77)

Color Theory

Complementary

Triadic

Analogous

Tetradic (Square)

Split-Complementary

Accessibility (WCAG)

White text on color

Black text on color

Color on white bg

Colored text

Contrast Ratios

vs White 2.14:1
vs Black 9.83:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: FAIL ✗ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#B8B7CD — rgb(184, 183, 205)

Deuteranopia (Green-blind)

#B9BCCA — rgb(185, 188, 202)

Tritanopia (Blue-blind)

#C3C3C1 — rgb(195, 195, 193)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(277, 40%, 75%);

text

color: hsl(277, 40%, 75%);

border

border: 2px solid hsl(277, 40%, 75%);

gradient light

background: linear-gradient(to right, hsl(277, 40%, 95%), hsl(277, 40%, 75%));

gradient dark

background: linear-gradient(to right, hsl(277, 40%, 75%), hsl(277, 40%, 55%))

hex

background-color: #C5A6D9;

tailwind

bg-[hsl(277,40%,75%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(277, 40%, 75%, 0.4);

css variable

--color-primary: hsl(277, 40%, 75%);

Related Colors

Use Cases for Indigo

UI elements Web design Branding Graphic design Print design

Frequently Asked Questions

What are all the color codes for HSL(277, 40%, 75%)?

HEX: #C5A6D9 | RGB: rgb(197, 166, 217) | CMYK: 9%, 24%, 0%, 15% | HSV: 276°, 24%, 85%. Copy any format from the conversion table above.

What colors go well with #C5A6D9?

The complementary color is HSL(97, 40%, 75%). 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, 40%, 75%) in CSS?

As HSL: color: hsl(277, 40%, 75%); — As HEX: color: #C5A6D9; — As RGB: color: rgb(197, 166, 217); — Tailwind CSS: bg-[hsl(277,40%,75%)] — CSS variable: --color-primary: hsl(277, 40%, 75%);