HSL(280, 25%, 56%)

Indigo — Indigo color

Adjust Color

Color Information

Color Name

Indigo

Color Family

Indigo

Warm / Cool

🔵 Cool

Temperature

6500K

CSS Class

bg-[hsl(280,25%,56%)]

Color Conversions

Format Value CSS Usage
HSL hsl(280, 25%, 56%) color: hsl(280, 25%, 56%)
HEX #9873AB color: #9873AB
RGB rgb(152, 115, 171) color: rgb(152, 115, 171)
CMYK cmyk(11%, 33%, 0%, 33%)
HSV hsv(280, 33%, 67%)
HWB hwb(280 45% 33%) color: hwb(280 45% 33%)
OKLCH oklch(0.6125 0.0924 313.82) color: oklch(0.6125 0.0924 313.82)
Lab lab(53.9 25.07 -24.32) color: lab(53.9 25.07 -24.32)
LCH lch(53.9 34.93 315.87) color: lch(53.9 34.93 315.87)

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 3.91:1
vs Black 5.38:1

AA Normal (4.5:1)

on White: FAIL ✗ on Black: PASS ✓

AA Large (3:1)

on White: PASS ✓ on Black: PASS ✓

AAA Normal (7:1)

on White: FAIL ✗

Best text on this color: black

Color Blindness Simulation

Protanopia (Red-blind)

#88889D — rgb(136, 136, 157)

Deuteranopia (Green-blind)

#8A8D9A — rgb(138, 141, 154)

Tritanopia (Blue-blind)

#969390 — rgb(150, 147, 144)

Tints & Shades

Tints (Lighter →)

← Shades (Darker)

Saturation (0% → 100%)

CSS Code Snippets

background

background-color: hsl(280, 25%, 56%);

text

color: hsl(280, 25%, 56%);

border

border: 2px solid hsl(280, 25%, 56%);

gradient light

background: linear-gradient(to right, hsl(280, 25%, 76%), hsl(280, 25%, 56%));

gradient dark

background: linear-gradient(to right, hsl(280, 25%, 56%), hsl(280, 25%, 36%))

hex

background-color: #9873AB;

tailwind

bg-[hsl(280,25%,56%)]

box shadow

box-shadow: 0 4px 6px -1px hsl(280, 25%, 56%, 0.4);

css variable

--color-primary: hsl(280, 25%, 56%);

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(280, 25%, 56%)?

HEX: #9873AB | RGB: rgb(152, 115, 171) | CMYK: 11%, 33%, 0%, 33% | HSV: 280°, 33%, 67%. Copy any format from the conversion table above.

What colors go well with #9873AB?

The complementary color is HSL(100, 25%, 56%). For a triadic harmony, use hues 280°, 40°, and 160°. For analogous combinations, try hues 250° and 310°. See the Color Harmony section above for complete palettes with previews.

How do I use HSL(280, 25%, 56%) in CSS?

As HSL: color: hsl(280, 25%, 56%); — As HEX: color: #9873AB; — As RGB: color: rgb(152, 115, 171); — Tailwind CSS: bg-[hsl(280,25%,56%)] — CSS variable: --color-primary: hsl(280, 25%, 56%);