HSL(267, 54%, 81%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(267,54%,81%)]

Color Conversions

Format Value CSS Usage
HSL hsl(267, 54%, 81%) color: hsl(267, 54%, 81%)
HEX #CCB4E9 color: #CCB4E9
RGB rgb(204, 180, 233) color: rgb(204, 180, 233)
CMYK cmyk(12%, 23%, 0%, 9%)
HSV hsv(267, 23%, 91%)
HWB hwb(267 70% 9%) color: hwb(267 70% 9%)
OKLCH oklch(0.808 0.0777 305.32) color: oklch(0.808 0.0777 305.32)
Lab lab(76.9 18.56 -23.29) color: lab(76.9 18.56 -23.29)
LCH lch(76.9 29.78 308.55) color: lch(76.9 29.78 308.55)

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.86:1
vs Black 11.27: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)

#C2C1DC — rgb(194, 193, 220)

Deuteranopia (Green-blind)

#C3C5D9 — rgb(195, 197, 217)

Tritanopia (Blue-blind)

#CBD2D0 — rgb(203, 210, 208)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(267, 54%, 81%);

text

color: hsl(267, 54%, 81%);

border

border: 2px solid hsl(267, 54%, 81%);

gradient light

background: linear-gradient(to right, hsl(267, 54%, 100%), hsl(267, 54%, 81%));

gradient dark

background: linear-gradient(to right, hsl(267, 54%, 81%), hsl(267, 54%, 61%))

hex

background-color: #CCB4E9;

tailwind

bg-[hsl(267,54%,81%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(267, 54%, 81%, 0.4);

css variable

--color-primary: hsl(267, 54%, 81%);

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(267, 54%, 81%)?

HEX: #CCB4E9 | RGB: rgb(204, 180, 233) | CMYK: 12%, 23%, 0%, 9% | HSV: 267°, 23%, 91%. Copy any format from the conversion table above.

What colors go well with #CCB4E9?

The complementary color is HSL(87, 54%, 81%). For a triadic harmony, use hues 267°, 27°, and 147°. For analogous combinations, try hues 237° and 297°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(267, 54%, 81%) in CSS?

As HSL: color: hsl(267, 54%, 81%); — As HEX: color: #CCB4E9; — As RGB: color: rgb(204, 180, 233); — Tailwind CSS: bg-[hsl(267,54%,81%)] — CSS variable: --color-primary: hsl(267, 54%, 81%);