HSL(255, 40%, 73%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

9000K

CSS Class

bg-[hsl(255,40%,73%)]

Color Conversions

Format Value CSS Usage
HSL hsl(255, 40%, 73%) color: hsl(255, 40%, 73%)
HEX #AC9FD6 color: #AC9FD6
RGB rgb(172, 159, 214) color: rgb(172, 159, 214)
CMYK cmyk(20%, 26%, 0%, 16%)
HSV hsv(254, 26%, 84%)
HWB hwb(254 62% 16%) color: hwb(254 62% 16%)
OKLCH oklch(0.7331 0.0797 295.21) color: oklch(0.7331 0.0797 295.21)
Lab lab(68.33 15.97 -26.25) color: lab(68.33 15.97 -26.25)
LCH lch(68.33 30.73 301.32) color: lch(68.33 30.73 301.32)

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.42:1
vs Black 8.68: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)

#A6A6C9 — rgb(166, 166, 201)

Deuteranopia (Green-blind)

#A7A8C6 — rgb(167, 168, 198)

Tritanopia (Blue-blind)

#ABBEBC — rgb(171, 190, 188)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(255, 40%, 73%);

text

color: hsl(255, 40%, 73%);

border

border: 2px solid hsl(255, 40%, 73%);

gradient light

background: linear-gradient(to right, hsl(255, 40%, 93%), hsl(255, 40%, 73%));

gradient dark

background: linear-gradient(to right, hsl(255, 40%, 73%), hsl(255, 40%, 53%))

hex

background-color: #AC9FD6;

tailwind

bg-[hsl(255,40%,73%)]

box shadow

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

css variable

--color-primary: hsl(255, 40%, 73%);

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(255, 40%, 73%)?

HEX: #AC9FD6 | RGB: rgb(172, 159, 214) | CMYK: 20%, 26%, 0%, 16% | HSV: 254°, 26%, 84%. Copy any format from the conversion table above.

What colors go well with #AC9FD6?

The complementary color is HSL(75, 40%, 73%). For a triadic harmony, use hues 255°, 15°, and 135°. For analogous combinations, try hues 225° and 285°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(255, 40%, 73%) in CSS?

As HSL: color: hsl(255, 40%, 73%); — As HEX: color: #AC9FD6; — As RGB: color: rgb(172, 159, 214); — Tailwind CSS: bg-[hsl(255,40%,73%)] — CSS variable: --color-primary: hsl(255, 40%, 73%);