HSL(271, 52%, 80%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(271,52%,80%)]

Color Conversions

Format Value CSS Usage
HSL hsl(271, 52%, 80%) color: hsl(271, 52%, 80%)
HEX #CDB1E7 color: #CDB1E7
RGB rgb(205, 177, 231) color: rgb(205, 177, 231)
CMYK cmyk(11%, 23%, 0%, 9%)
HSV hsv(271, 23%, 91%)
HWB hwb(271 70% 9%) color: hwb(271 70% 9%)
OKLCH oklch(0.8025 0.0806 308.15) color: oklch(0.8025 0.0806 308.15)
Lab lab(76.19 20.1 -23.28) color: lab(76.19 20.1 -23.28)
LCH lch(76.19 30.76 310.81) color: lch(76.19 30.76 310.81)

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 1.9:1
vs Black 11.04: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)

#C1C1DA — rgb(193, 193, 218)

Deuteranopia (Green-blind)

#C3C5D7 — rgb(195, 197, 215)

Tritanopia (Blue-blind)

#CCD0CD — rgb(204, 208, 205)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(271, 52%, 80%);

text

color: hsl(271, 52%, 80%);

border

border: 2px solid hsl(271, 52%, 80%);

gradient light

background: linear-gradient(to right, hsl(271, 52%, 100%), hsl(271, 52%, 80%));

gradient dark

background: linear-gradient(to right, hsl(271, 52%, 80%), hsl(271, 52%, 60%))

hex

background-color: #CDB1E7;

tailwind

bg-[hsl(271,52%,80%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(271, 52%, 80%, 0.4);

css variable

--color-primary: hsl(271, 52%, 80%);

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(271, 52%, 80%)?

HEX: #CDB1E7 | RGB: rgb(205, 177, 231) | CMYK: 11%, 23%, 0%, 9% | HSV: 271°, 23%, 91%. Copy any format from the conversion table above.

What colors go well with #CDB1E7?

The complementary color is HSL(91, 52%, 80%). For a triadic harmony, use hues 271°, 31°, and 151°. For analogous combinations, try hues 241° and 301°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(271, 52%, 80%) in CSS?

As HSL: color: hsl(271, 52%, 80%); — As HEX: color: #CDB1E7; — As RGB: color: rgb(205, 177, 231); — Tailwind CSS: bg-[hsl(271,52%,80%)] — CSS variable: --color-primary: hsl(271, 52%, 80%);