HSL(273, 99%, 78%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(273,99%,78%)]

Color Conversions

Format Value CSS Usage
HSL hsl(273, 99%, 78%) color: hsl(273, 99%, 78%)
HEX #CC8FFE color: #CC8FFE
RGB rgb(204, 143, 254) color: rgb(204, 143, 254)
CMYK cmyk(20%, 44%, 0%, 0%)
HSV hsv(273, 44%, 100%)
HWB hwb(273 56% 0%) color: hwb(273 56% 0%)
OKLCH oklch(0.7522 0.1652 308.24) color: oklch(0.7522 0.1652 308.24)
Lab lab(69.21 43.24 -46.6) color: lab(69.21 43.24 -46.6)
LCH lch(69.21 63.57 312.86) color: lch(69.21 63.57 312.86)

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.35:1
vs Black 8.93: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)

#B2B1E3 — rgb(178, 177, 227)

Deuteranopia (Green-blind)

#B5BADD — rgb(181, 186, 221)

Tritanopia (Blue-blind)

#C9CEC9 — rgb(201, 206, 201)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(273, 99%, 78%);

text

color: hsl(273, 99%, 78%);

border

border: 2px solid hsl(273, 99%, 78%);

gradient light

background: linear-gradient(to right, hsl(273, 99%, 98%), hsl(273, 99%, 78%));

gradient dark

background: linear-gradient(to right, hsl(273, 99%, 78%), hsl(273, 99%, 58%))

hex

background-color: #CC8FFE;

tailwind

bg-[hsl(273,99%,78%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(273, 99%, 78%, 0.4);

css variable

--color-primary: hsl(273, 99%, 78%);

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(273, 99%, 78%)?

HEX: #CC8FFE | RGB: rgb(204, 143, 254) | CMYK: 20%, 44%, 0%, 0% | HSV: 273°, 44%, 100%. Copy any format from the conversion table above.

What colors go well with #CC8FFE?

The complementary color is HSL(93, 99%, 78%). For a triadic harmony, use hues 273°, 33°, and 153°. For analogous combinations, try hues 243° and 303°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(273, 99%, 78%) in CSS?

As HSL: color: hsl(273, 99%, 78%); — As HEX: color: #CC8FFE; — As RGB: color: rgb(204, 143, 254); — Tailwind CSS: bg-[hsl(273,99%,78%)] — CSS variable: --color-primary: hsl(273, 99%, 78%);